fastjson 2.0.34 released, increase compatibility with Android 4

fastjson 2.0.34 has been released, this is an enhanced version with bug fixes.

Version 2.0.34 has been further improved, and the performance test report is here https://github.com/alibaba/fastjson2/wiki/fastjson_benchmark 

Issues

  1. Fix the problem of L suffix caused by incompatibility with WriteClassName #1512 
  2. Fix the problem that the deserialization result type of the LinkedList object is incorrect #1520 
  3. Fix the problem that the error message is incorrect #1533 
  4. Enhance the support of toJavaObject, support string to List #1517 
  5. Fix the problem of null pointer exception when contextClassLoader is empty #1534 
  6. Fix the problem that the WriteNoneStringValueAsString option does not work for the Number type #1537 
  7. Fix the problem that serialization opens PrettyFormat and the data is out of bounds #1557 
  8. Fix the problem that the sequence of Float/Double and NaN after format is not null #1562 
  9. Fix the problem that the result of JSONB.toJSONString is incorrect when the data type is TIMESTAMP #1568 
  10. Fix the problem that serialization does not support Iterable type #1563 
  11. Fix the problem that the parent class field configuration serialize=false causes the subclass field with the same name to not be serialized #1513 
  12. Fix RecomputeFieldValue.FieldOffset compilation warning issue #1519 
  13. Enhance JSONPath to support filter with multiple conditions #1516 
  14. Fix the problem that some scene reference calculations do not work #1515 #1514  
  15. Newly added JSONWriter.Feature.NotWriteNumberClassName #1510 
  16. Fix the problem that kotlin.collections.EmptyList cannot be serialized #1540 
  17. Fix the problem that serialization has a circular reference object and reports OOM #1545 #1544  
  18. Enhance support for Enum deserialization #1578 
  19. Added version 2.0.34.1.android compatible with android 4

MAVEN dependency configuration

<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.34</version>
</dependency>
  • android4 compatible version
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2</artifactId>
    <version>2.0.34.1.android</version>
</dependency>
  • 1.x compatible version
<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>fastjson</artifactId>
    <version>2.0.34</version>
</dependency>
  • Spring 5 extension configuration
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2-extension-spring5</artifactId>
    <version>2.0.34</version>
</dependency>
 
  • Spring 6 extension configuration
<dependency>
    <groupId>com.alibaba.fastjson2</groupId>
    <artifactId>fastjson2-extension-spring6</artifactId>
    <version>2.0.34</version>
</dependency>

Related Links

Guess you like

Origin www.oschina.net/news/245771/fastjson-2-0-24-released