talira

Compare

FASTJSON 2JacksonGsonJSON-java (org.json)
What it isHigh-performance JSON library for Java, the successor to fastjsonThe Java JSON library: a suite of data-processing tools for Java and the JVMGoogle's Java library for converting objects to and from JSONThe reference JSON implementation for Java, in the public domain
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.680.700.740.61
Stars44303756242364728
Last commit2026-11-152026-11-242026-11-222026-11-21
LicenceApache-2.0Apache-2.0Apache-2.0public domain
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins—Yes——
MCP server————
CompanyAlibaba GroupFasterXML, LLCGoogle
public company (NASDAQ:GOOGL)
Sean Leary
Features
  • JSON and binary JSONB
  • partial parsing with JSONPath
  • JSON Schema validation
  • Kotlin module and Spring integration
  • fastjson 1.x compatibility package
  • GraalVM native image support
  • Streaming JSON parser and generator (jackson-core)
  • Data binding between Java objects and JSON (jackson-databind ObjectMapper)
  • Annotations to control serialization (jackson-annotations)
  • Data format modules: Avro, CBOR, CSV, Properties, Protobuf, Smile, TOML, XML, YAML
  • Data type modules: Java 8 date/time, JDK 8 types, Guava, Joda and others
  • JAX-RS providers
  • LTS releases on the 2.x and 3.x lines
  • convert Java objects to JSON and back with toJson and fromJson
  • works with classes you can't annotate
  • full support for Java generics
  • custom serializers and type adapters
  • parse and generate JSON with JSONObject and JSONArray
  • convert between JSON and XML, HTTP headers, cookies and CDL
  • no external dependencies
  • runs on Java 1.6 to 25
Limitations
      • Not recommended on Android: its reflection breaks under R8 and ProGuard shrinking and obfuscation in release builds.
      • Kotlin-specific features such as non-null types and default constructor arguments aren't supported.
      • In maintenance mode: bugs are fixed, but large new features are unlikely.
      • In a maintenance phase: only limited changes are accepted