Gson

A Java serialization/deserialization library to convert Java Objects into JSON and back (by google)

Gson Alternatives

Similar projects and alternatives to Gson

  1. Redis

    373 Gson VS Redis

    Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. PHPT

    307 Gson VS PHPT

    The PHP Interpreter

  4. Keycloak

    264 Gson VS Keycloak

    Open Source Identity and Access Management For Modern Applications and Services

  5. Jenkins

    190 Gson VS Jenkins

    Jenkins automation server

  6. Lombok

    97 Gson VS Lombok

    Very spicy additions to the Java programming language.

  7. maven-mvnd

    95 Gson VS maven-mvnd

    Apache Maven Daemon

  8. Twig

    62 Gson VS Twig

    Twig, the flexible, fast, and secure template language for PHP

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. OkHttp

    50 Gson VS OkHttp

    Square’s meticulous HTTP client for the JVM, Android, and GraalVM.

  11. Thymeleaf

    31 Gson VS Thymeleaf

    Thymeleaf is a modern server-side Java template engine for both web and standalone environments.

  12. SLF4J

    24 Gson VS SLF4J

    Simple Logging Facade for Java

  13. Checkstyle

    17 Gson VS Checkstyle

    Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

  14. Jackson

    4 Gson VS Jackson

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

  15. Moshi

    18 Gson VS Moshi

    A modern JSON library for Kotlin and Java.

  16. Genson

    0 Gson VS Genson

    Genson a fast & modular Java <> Json library

  17. EventBus

    7 Gson VS EventBus

    Event bus for Android and Java that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.

  18. jsoniter

    3 Gson VS jsoniter

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

  19. material-dialogs

    6 Gson VS material-dialogs

    Discontinued 😍 A beautiful, fluid, and extensible dialogs API for Kotlin & Android.

  20. DSL-JSON

    6 Gson VS DSL-JSON

    High performance JVM JSON library

  21. Jackson JSON Processor

    Main Portal page for the Jackson project

  22. Yasson

    0 Gson VS Yasson

    Eclipse Yasson project

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Gson alternative or higher similarity.

Gson discussion

Log in or Post with

Gson reviews and mentions

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-09-27.
  • Exploring GSON: A Model of Innovation Through Community, Licensing, and Corporate Support
    1 project | dev.to | 6 Mar 2025
    GSON stands as a paradigm of successful open source development, embodying the seamless integration of corporate support and community innovation. Its evolution, fueled by contributions on GitHub and anchored by the industry's most permissive licensing framework, exemplifies how projects can maintain robustness in an ever-changing software landscape. By providing a solid foundation for both commercial usage and collaborative enhancements, GSON not only meets the needs of today’s developers but also sets the stage for future innovations. For anyone interested in exploring the world of robust, community-driven open source projects, GSON’s journey offers essential insights into how strategic funding, legal frameworks, and shared technical vision can create a sustainable and thriving ecosystem. To learn more about GSON’s open source journey, visit Google and explore the repository on GitHub. By understanding and appreciating the principles behind GSON’s model, developers and project managers alike are better equipped to embrace new paradigms of open source development that are both innovative and sustainable.
  • Tutorial: Build a Java SDK based on OpenAPI Spec
    16 projects | dev.to | 27 Sep 2024
    For JSON parsing, both Jackson and Gson are widely used in Java. Jackson is often favored for its extensive features and performance, while Gson is lighter and simpler to use. If your SDK needs advanced serialization features or works with complex JSON structures, Jackson is likely the better choice.
  • Edge Cases to Keep in Mind. Part 1 — Text
    1 project | dev.to | 8 Aug 2024
    On the other hand, machine readable texts like HTTP headers or JSON keys should be processed in language-neutral way. Otherwise, you may get non-ASCII characters in the output which may break application logic. That exact situation happened in GSON, a library used by thousands (or maybe millions) of projects.
  • Rapyd API Request Signatures in Java
    2 projects | dev.to | 14 May 2024
    Next, add the Apache HTTP Client and the Google Gson libraries by navigating to View > Tool Window > Dependencies. You can check out the Gradle dependencies tutorial for more information on how to add Gradle dependencies.
  • JVM Profiling in Action
    4 projects | dev.to | 18 Apr 2024
    Most of the time is spent in JSON parsing, specifically in AccessLogAggregator.parseLineJson. Within parsing, the majority of time is spent in org/json/JSONObject.. Since there are faster JSON libraries available, we'll switch to Gson and repeat the tests. To do this, we'll add the following method to our code:
  • Data API for Amazon Aurora Serverless v2 with AWS SDK for Java - Part 3 Executing update and insert SQL statements in batch
    2 projects | dev.to | 4 Mar 2024
    In this concrete example we'll create 3 products. We can then convert this JSON to the list of products using Gson.
  • The Newest Java Json Benchmark Results just dropped
    8 projects | /r/java | 1 May 2023
    Gson has been in maintenance mode for at least 6 years. It's kind of a shame, because the API and implementation were a lot cleaner than Jackson.
  • How We Built a Serverless Backend Using GraalVM, AWS Lambda and Astra DB (Part 2)
    5 projects | dev.to | 3 Feb 2023
    For more information on native-image build arguments, please consult the GraalVM Native Image Options documentation. The next listing contains the contents of reflect.json, which contains a bunch of data classes that we need to serialize and deserialize with Gson, as well as our Lambda handler class which the runtime needs to instantiate based on the qualified class name passed to the Lambda function.
  • How to Make Java MRZ Detector with Dynamsoft Label Recognizer for Windows and Linux
    2 projects | dev.to | 15 Dec 2022
    The loadModel() method is special. It needs to dynamically update the model path specified in the JSON-formatted template file according to the extraction path of the Jar package. Gson can be used to load and update the JSON object.
  • Ayuda con un juego Pokémon en Java y manejar los datos con archivos Json o txt
    1 project | /r/programacion | 22 Oct 2022
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 22 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic Gson repo stats
31
23,666
8.7
6 days ago

google/gson is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of Gson is Java.


Sponsored
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com

Did you know that Java is
the 8th most popular programming language
based on number of references?