fastjson 2.0.9 released, fix bugs and enhance compatibility

fastjson 2.0.9 is now released, another version that fixes bugs and improves compatibility. Specific updates include:

1. Issues

  1. Fix the problem that the BigDecimal type has incorrect results in some cases #540 
  2. Fix the problem that the List field reports an error in some scenarios #539 
  3. The problem that JSONB format serializes byte array type in some scenarios reports an error #537 
  4. Fix the problem that JSONObject.getObject input List.class reports an error in some scenarios #536 
  5. Improve the syntax compatibility of JSONPath #532 
  6. Fix the problem that some scenarios cannot deserialize non-static nested classes #531 
  7. Fix the problem that the input of NULL in some scenarios List type will cause an infinite loop #528 #525  
  8. Add parameters fieldType and fieldName to the readObject method of the deserialized ObjectReader interface, which is compatible with fastjson 1.x #527 
  9. Fix the problem that JSONPath will report an error in some scenarios #524 
  10. Fix the priority of multiple set methods #523 
  11. Fix compatibility pack android compatibility issue #520 #511  
  12. Fix the problem that JSONObject.containsKey is incorrect in none-string key #518 
  13. Fix support for IBM J9 JDK 8.0 #516 
  14. Fix compatibility with fastjson 1.x Set syntax #513 
  15. Fix graal native image support issue #509 
  16. Fix WriteClassName feature support for HashMap #507 
  17. Fix the problem of deserialization error when the field type is JSONArray #502 
  18. Enhance support for unquoted fields #478 
  19. Fix support for java.util.Vector type fields #517 
  20. Custom serialization supports LocalDate/LocalTime/LocalDateTime

2. MAVEN dependency configuration

<dependency>
	<groupId>com.alibaba.fastjson2</groupId>
	<artifactId>fastjson2</artifactId>
	<version>2.0.9</version>
</dependency>
  • GraalVM version
<dependency>
	<groupId>com.alibaba.fastjson2</groupId>
	<artifactId>fastjson2</artifactId>
	<version>2.0.9.graal</version>
</dependency>
  • Android version
<dependency>
	<groupId>com.alibaba.fastjson2</groupId>
	<artifactId>fastjson2</artifactId>
	<version>2.0.9.android</version>
</dependency>
  • 1.x compatible version
<dependency>
	<groupId>com.alibaba</groupId>
	<artifactId>fastjson</artifactId>
	<version>2.0.9</version>
</dependency>

Related Links

For details, please check: https://github.com/alibaba/fastjson2/releases/tag/2.0.9

Guess you like

Origin www.oschina.net/news/202501/fastjson-2-0-9-released