Gson VS DSL-JSON

Compare Gson vs DSL-JSON and see what are their differences.

Gson

A Java serialization/deserialization library to convert Java Objects into JSON and back (by google)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Gson DSL-JSON
27 6
22,945 983
0.5% 0.2%
9.1 5.2
2 days ago about 2 months ago
Java Java
Apache License 2.0 BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Gson

Posts with mentions or reviews of Gson. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-18.

DSL-JSON

Posts with mentions or reviews of DSL-JSON. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-01.
  • The Newest Java Json Benchmark Results just dropped
    8 projects | /r/java | 1 May 2023
    Afaik dsl-json came up with a lot of improvements and inspired a several other libraries like JsonIter and jsonIter-scala. Jsoniter-scala by u/plokhotnyuk is probably the most optimized JSON library on the JVM at this point, and seems to power most of the Scala ecosystem. Some implementations/optimizations eventually made their way back into Jackson and other libraries.
  • The state of Java Object Serialization libraries in Q2 2023
    5 projects | /r/java | 7 Apr 2023
    You gotta at least add the top contender. I mean dsl-json is probably the fastest json lib java has to offer. I personally like Rob's avaje-jsonb, because I think the approach of no reflection, and doing everything via annotation processing is rad. (it also has some decent speed too)
  • I benchmarked kotlin rust and go. The results will shock you , or not.
    4 projects | /r/Kotlin | 15 Jan 2023
    Have you tried dsl-json instead of jsoniter? Should be faster.
  • Performance of 12 JSON parsers for Scala
    9 projects | /r/scala | 29 Mar 2021
    I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json

What are some alternatives?

When comparing Gson and DSL-JSON you can also consider the following projects:

Moshi - A modern JSON library for Kotlin and Java.

jsoniter-scala - Scala macros for compile-time generation of safe and ultra-fast JSON codecs

Jackson - Core part of Jackson that defines Streaming API as well as basic shared abstractions

jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes

jsoniter - jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go

jbpm - a Business Process Management (BPM) Suite

Jackson JSON Processor - Main Portal page for the Jackson project

Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.

Genson - Genson a fast & modular Java <> Json library

Play JSON - The Play JSON library

kotlinx.serialization - Kotlin multiplatform / multi-format serialization

ActiveJ - ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines core, web and high-load programming in Java, providing simplicity, maximum performance and scalability