`
abeisnow
  • 浏览: 5487 次
  • 来自: ...
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
阅读更多

Gson RoadMap

Planned Releases:
No plans as of now!

Past Releases:

Version 1.4 BETA - Released Friday October 9, 2009
  • JsonStreamParser: A streaming parser API class to deserialize multiple JSON objects on a stream (such as a pipelined HTTP response)
  • Raised the deserialization limit for byte and object arrays and collection to over 11MB from 80KB. See issue 96.
  • While serializing, Gson now uses the actual type of a field. This allows serialization of base-class references holding sub-classes to the JSON for the sub-class. It also allows serialization of raw collections. See Issue 155, 156.
  • Added a Gson.toJsonTree() method that serializes a Java object to a tree of JsonElements. See issue 110.
  • Added a Gson.fromJson(JsonElement) method that deserializes from a Json parse tree.
  • Updated Expose annotation to contain parameters serialize and deserialize to control whether a field gets serialized or deserialized. See issue 146.
  • Added a new naming policy LOWER_CASE_WITH_DASHES
  • Default date type adapter is now thread-safe. See Issue 162.
  • JsonElement.toString() now outputs valid JSON after escaping characters properly. See issue 154.
  • JsonPrimitive.equals() now returns true for two numbers if their values are equal. All integral types (long, int, short, byte, BigDecimal, Long, Integer, Short, Byte) are treated equivalent for comparison. Similarly, floating point types (double, float, BigDecimal, Double, Float) are treated equivalent as well. See issue 147.
  • Fixed bugs in pretty printing. See issue 153.
  • If a field causes circular reference error, Gson lists the field name instead of the object value. See issue 118.
  • Gson now serializes a list with null elements correctly. See issue 117.
  • Fixed issue 121, 123, 126.
  • Support user defined exclusion strategies (Feature Request 138).

Version 1.3 Released Wednesday, Apr 1, 2009
  • Fix security token to remove the <data> element.
  • Changed JsonParser.parse method to be non-static
  • Throw JsonParseExceptions instead of ClassCastExceptions and UnsupportedOperationExceptions
Version 1.3 beta3 Released Tuesday, Mar 17, 2009
  • Supported custom mapping of field names by making FieldNamingStrategy public and allowing FieldNamingStrategy to be set in GsonBuilder. See issue 104.
  • Added a new GsonBuilder setting generateNonExecutableJson() that prefixes the generated JSON with some text to make the output non-executable Javascript. Gson now recognizes this text from input while deserializing and filters it out. This feature is meant to prevent script sourcing attacks. See Issue 42.
  • Supported deserialization of sets with elements that do not implement Comparable. See Issue 100
  • Supported deserialization of floating point numbers without a sign after E. See Issue 94
Version 1.3 beta2 Released Thursday, Feb 05, 2009
  • Added a new Parser API. See issue 65
  • Supported deserialization of java.util.Properties. See Issue 87
  • Fixed the pretty printing of maps. See Issue 93
  • Supported automatic conversion of strings into numeric and boolean types if possible. See Issue 89
  • Supported deserialization of longs into strings. See Issue 82
Version 1.3 beta1 Released Jan 2009 (Target Date Friday, Dec 15, 2008)
  • Made JSON parser lenient by allowing unquoted member names while parsing. See Issue 41
  • Better precision handling for floating points. See Issue 7172,
  • Support for deserialization of special double values: NaN, infinity and negative infinity. See Issue 81
  • Backward compatibility issue found with serialization of Collection<Object> type.  See Issue 73 and 83.
  • Able to serialize null keys and/or values within a Map.  See Issue 77.
  • Deserializing non-String value keys for Maps.  See Issue 85.
  • Support for clashing field name.  See Issue 76.
  • Removed the need to invoke instance creator if a deserializer is registered. See issues 37 and 69.
  • Added default support for java.util.UUID. See Issue 79
  • Changed Gson.toJson() methods to use Appendable instead of Writer. Issue 52. This requires that clients recompile their source code that uses Gson.
Version 1.2.3 Released Saturday, 11/15/2008 (Target Date Friday, Oct 31, 2008)
  • Added support to serialize raw maps. See issue 45
  • Made Gson thread-safe by fixing Issue 63
  • Fixed Issue 68 to allow default type adapters for primitive types to be replaced by custom type adapters.
  • Relaxed the JSON parser to accept escaped slash (\/) as a valid character in the string. See Issue 66
Version 1.2.2: Released Tuesday, 10/14/2008 (Target Date: None, Unplanned)
  • This version was released to fix Issue 58 which caused a regression bug in version 1.2.1
  • It includes the contents from the release 1.2.1
Version 1.2.1: Released Monday, 10/13/2008 (Target Date Friday, Oct 7, 2008)
  • Note: This release was abandoned since it caused a regression (Issue 58) bug.
  • Includes updated parser for JSON that supports much larger strings. For example, Gson 1.2 failed at parsing a 100k string, Gson 1.2.1 has successfully parsed strings of size 15-20MB. The parser also is faster and consumes less memory since it uses a token match instead of a recursion-based Grammar production match. See Issue 47.
  • Gson now supports field names with single quotes ' in addition to double quotes ". See Issue 55.
  • Includes bug fixes for issue 46, 49, 51, 53, 54, and 56.
Version 1.2: Released Friday, 8/29/2008 (Target Date Tuesday Aug 26, 2008)
Version 1.1.1: Released Friday, 7/18/2008 (Target Date Friday, Aug 1, 2008)
Version 1.1: Released Tuesday, 7/1/2008 (Target Date Thursday, July 3, 2008)
Version 1.0.1: Released Tuesday, 6/17/2008 (Target Date Friday,  Jun 13, 2008)
分享到:
评论

相关推荐

    om.google.gson.Gson Gson maven依赖

    Gson是Google开发的一款Java语言编写的库,用于在Java对象和JSON数据之间进行映射。这个库使得Java对象可以轻松地序列化成JSON格式,同时也可以从JSON字符串反序列化回Java对象。在Java开发中,Gson库非常常见,特别...

    GSON JAR包 最新包和历史包 gson-2.10.1

    介绍:Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. 压缩包里有以下文件: ...

    com.google.gson.Gson 2.8.1 2.8.2 jar包 gson

    Gson是Google开发的一款强大的Java库,用于在Java对象和JSON数据之间进行映射。它的全称是Google Gson,主要用于将Java对象转换为JSON格式的字符串,也可以将JSON字符串反序列化为对应的Java对象。在Java开发中,...

    gson jar包下载

    Gson,全称为Google Simple JSON,是Google提供的一款开源库,用于在Java对象和JSON数据之间进行映射。这个库使得Java开发者能够轻松地将JSON字符串转换为等效的Java对象,反之亦然。在Java应用程序中,Gson库特别...

    googleGson JsonObject json转换包

    包含以下java源文件: com.google.gson.DefaultDateTypeAdapter.class com.google.gson.ExclusionStrategy.class com.google.gson.FieldAttributes.class com.google.gson.FieldNamingPolicy.class ...

    Gson-2.8.1的官方jar包合集【gson-2.8.1.jar,gson-2.8.1-sources.jar】

    Gson是Google开发的一款强大的Java库,用于将Java对象转换为JSON格式的字符串,以及将JSON数据解析回等效的Java对象。这个压缩包包含了Gson库的版本2.8.1,它提供了两个主要的组件:`gson-2.8.1.jar`和`gson-2.8.1-...

    gson-2.8.5版本的jar包

    GSON简介 JSON(JavaScript Object Notation)是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。 Gson是Google提供的用来在Java对象和JSON数据之间进行映射的Java类库。可以将一个JSON字符串...

    gson-2.8.0-API文档-中文版.zip

    赠送jar包:gson-2.8.0.jar; 赠送原API文档:gson-2.8.0-javadoc.jar; 赠送源代码:gson-2.8.0-sources.jar; 赠送Maven依赖信息文件:gson-2.8.0.pom; 包含翻译后的API文档:gson-2.8.0-javadoc-API文档-中文...

    Gson的2.2.4jar

    Gson是Google推出的一款强大的Java库,主要用于在Java对象与JSON数据之间进行相互转换。它的全称是Google Simple JSON,自2008年发布以来,已经成为了Java开发者处理JSON数据的一个常用工具,尤其是在Android开发中...

    com.google.gson.Gson.jar

    json我们在网络请求中经常用到,最近最火的微信小程序开发中... 就会报错,因为对于嵌套类型的json它是解释不出来的,这时就需要用到com.google.gson.Gson.jar了。资源中提供了jar包与代码示例,一句代码解决您的问题。

    gson-2.8.6-API文档-中文版.zip

    赠送jar包:gson-2.8.6.jar; 赠送原API文档:gson-2.8.6-javadoc.jar; 赠送源代码:gson-2.8.6-sources.jar; 赠送Maven依赖信息文件:gson-2.8.6.pom; 包含翻译后的API文档:gson-2.8.6-javadoc-API文档-中文...

    gson各个版本 jar 包下载

    Gson JAR包是Google推出的一款功能强大的Java库,它主要用于在Java对象和JSON格式数据之间进行转换。Gson库提供了简单而直观的API,使得开发者可以轻松地将Java对象序列化为JSON格式的字符串,或者将JSON字符串反...

    gson-2.6.2.jar包(com.google.code.gson:gson:2.6.2)

    Gson库是Google开发的一个Java库,用于在Java对象和JSON数据之间进行映射。它的全名是Google Simple JSON,其版本2.6.2在Android开发中被广泛使用,尤其是在处理JSON序列化和反序列化任务时。Gson库通过提供`Gson`类...

    gson-2.8.9-API文档-中文版.zip

    赠送jar包:gson-2.8.9.jar; 赠送原API文档:gson-2.8.9-javadoc.jar; 赠送源代码:gson-2.8.9-sources.jar; 赠送Maven依赖信息文件:gson-2.8.9.pom; 包含翻译后的API文档:gson-2.8.9-javadoc-API文档-中文...

    gson-2.8.6.jar下载

    gson-2.8.6.jar下载,gson是Google开发的一款优秀的Java JSON解析库。它可以将Java对象转换成JSON字符串,也可以将JSON字符串转换成Java对象。gson库简单易用,性能良好,所以很受欢迎,被广泛应用于Android和Java项目中...

    json解析 gson fastjson

    使用Gson,你可以通过`Gson().toJson()`方法将Java对象转化为JSON字符串,通过`new Gson().fromJson()`方法将JSON字符串反序列化为Java对象。 例如: ```java Person person = new Person("John", "Doe"); String ...

    com.google.gson.Gson 2.8.5 jar包

    截止至2018-11-27,github上com.google.gson.Gson 最新的2.8.5jar包。强大的json字符串解析功能及将字符串转换为json格式。我16年上传的免费下载的2.8.0版本不知道为什么变成下载需要50分了

    gson 使用Gson将Java对象转换为JSON

    Gson是Google的一个开源项目,可以将Java对象转换成JSON,也可能将JSON转换成Java对象。 Gson里最重要的对象有2个Gson 和 GsonBuilder Gson有2个最基本的方法 1) toJson() – 转换java 对象到JSON 2) from...

    gson-2.8.6.jar

    Gson是Google开发的一个Java库,用于在Java对象和JSON数据之间进行映射。这个库使得Java对象可以被转换为JSON字符串,同时也可以将JSON文本解析回等效的Java对象。Gson-2.8.6.jar是这个库的特定版本,其中包含了所有...

    Google gson jar包

    标题"Google gson jar包"暗示了我们讨论的是Google Gson库的Java档案文件(JAR),它包含了所有必要的类和资源,使开发者能够在项目中直接使用Gson功能。JAR文件通常在Java开发中用于封装库,以便在应用程序中作为...

Global site tag (gtag.js) - Google Analytics