Gson

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

Stats

Basic Gson repo stats
3
19,432
0.2
10 days ago

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

Gson Alternatives

Similar projects and alternatives to Gson

  • GitHub repo EventBus

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

  • GitHub repo Vault

    A tool for secrets management, encryption as a service, and privileged access management

  • GitHub repo react-hook-form

    📋 React Hooks for forms validation (Web + React Native)

  • GitHub repo RxAndroid

    RxJava bindings for Android

  • GitHub repo material-dialogs

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

  • GitHub repo Fresco

    An Android library for managing images and the memory they use.

  • GitHub repo Keycloak

    Open Source Identity and Access Management For Modern Applications and Services

  • GitHub repo Twig

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

  • GitHub repo DOMPurify

    DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

  • GitHub repo subsampling-scale-image-view

    Android library (AAR). Highly configurable, easily extendable deep zoom view for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc.

  • GitHub repo android-advancedrecyclerview

    RecyclerView extension library which provides advanced features. (ex. Google's Inbox app like swiping, Play Music app like drag and drop sorting)

  • GitHub repo LWJGL

    LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan), audio (OpenAL), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR) applications.

  • GitHub repo robospice

  • GitHub repo kotlinx.serialization

    Kotlin multiplatform / multi-format serialization

  • GitHub repo Spotbugs

    SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.

  • GitHub repo Thymeleaf

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

  • GitHub repo OpenNoteScanner

    Android application for scanning and manipulating handwritten notes and documents. [Moved to: https://github.com/allgood/OpenNoteScanner] (by ctodobom)

  • GitHub repo Images-to-PDF

    An app to convert images to PDF file!

  • GitHub repo MultiImagePicker

    A library to pick multi images in Android

  • GitHub repo libhpdf-AndroidLibrary

    An Android library project that provides JNI support for the libhpdf (libHaru) native PDF generation library.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better Gson alternative or higher similarity.

Posts

Posts where Gson has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-04.
  • Pure Java / Json HTTP { "name": "value"}
    reddit.com/r/javahelp | 2021-04-19
    Java doesn't have a native library for nicely working with JSON. If you're able to use a 3rd party library I'd recommend something like gson to make things a lot easier. You can create a class to act as an object to represent the JSON data and unmarshall/deserialize each json line into an instance of that class. https://www.baeldung.com/gson-deserialization-guide should help a bit.
  • Need help with planning a GUI project for my finals
    reddit.com/r/javahelp | 2021-04-04
    However, I do know that there isn't an inbuilt JSON parser within Java. So, you will need to include a third-party JSON parser library within your project. I've had experience with using gson for doing this myself, and that library is also rather easy to use.
  • How do I post a form with an array
    reddit.com/r/reactjs | 2021-03-29
    I don't know a ton about Java, but is there a reason it's not as simple as stringifying your form data with JSON.stringify() when posting on the client and then using something like this Java library from google to parse the JSON string on the server?
  • Need help reading data from a JSON file using Java
    reddit.com/r/learnjava | 2021-03-08
    Don't you worry, in java is as easy as it can get! I use GSON to parse my object to and from JSON. You can get it on the maven central but I'm pretty sure you can find the jar to import it somewhere although I do not recommend it. Here is a really good gide on how to use it
  • Web Application Security Checklist (2021)
    dev.to | 2021-02-16
    Use a well-known software component for the job and keep it rigorously up to date. Vulnerabilities are discovered in many deserialization libraries all the time. GSon is not a bad choice.
  • this little maneuver is gonna cost us 15,000 dollars
    reddit.com/r/dankmemes | 2021-01-02
    Gson is dead https://github.com/google/gson/issues/1821
  • A foss "PDF scanner", alternatives to CamScanner
    reddit.com/r/fossdroid | 2020-12-30
    Project: Gson Copyright (c) 2008 Google Inc. License (Apache License Version 2.0) https://github.com/google/gson/blob/master/LICENSE
  • Question about Parsing JSON in Kotlin
    reddit.com/r/Kotlin | 2020-12-22
    https://github.com/google/gson/issues/1550#issuecomment-516303048