talira

Compare

MoshiGsonJacksonFASTJSON 2
What it isA modern JSON library for Android, Java and KotlinGoogle's Java library for converting objects to and from JSONThe Java JSON library: a suite of data-processing tools for Java and the JVMHigh-performance JSON library for Java, the successor to fastjson
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.430.740.700.68
Stars101672423637564430
Last commit2026-06-182026-11-222026-11-242026-11-15
LicenceApache-2.0Apache-2.0Apache-2.0Apache-2.0
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————
CompanyBlockGoogle
public company (NASDAQ:GOOGL)
FasterXML, LLCAlibaba Group
Features
  • parse JSON into Java and Kotlin classes
  • Kotlin code generation with KSP
  • custom type adapters
  • Android support
  • 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
  • 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
  • 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
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.