Fastjson 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. Fastjson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of.
FASTJSON 2.0.x has been released, faster and more secure, we recommend you upgrade to the latest version.
- Provide the best performance on the server-side and android client
- Provide simple toJSONString() and parseObject() methods to convert Java objects to JSON and vice-versa
- Allow pre-existing unmodifiable objects to be converted to and from JSON
- Extensive support of Java Generics
- Allow custom representations for objects
- Support arbitrarily complex objects (with deep inheritance hierarchies and extensive use of generic types)
- Documentation Home
- Contributing Code
- Frequently Asked Questions
- FASTJSON 1.x User Upgrade Guid https://github.com/alibaba/fastjson2/wiki/fastjson_1_upgrade_cn
- Eishay benchmark https://github.com/eishay/jvm-serializers/wiki
- fastjson2 benchmark https://github.com/alibaba/fastjson2/wiki/fastjson_benchmark