RxAndroid VS Gson

Compare RxAndroid vs Gson and see what are their differences.


RxJava bindings for Android (by ReactiveX)


A Java serialization/deserialization library to convert Java Objects into JSON and back (by google)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
RxAndroid Gson
2 13
19,555 20,323
0.1% 0.7%
3.4 8.4
3 months ago 9 days ago
Java Java
Apache License 2.0 Apache License 2.0
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.


Posts with mentions or reviews of RxAndroid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2020-12-30.


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 2021-10-18.
  • Backend Developer Learning Path 2021
    12 projects | dev.to | 18 Oct 2021
  • How to package a function + arguments for remote execution (without RMI)?
    2 projects | reddit.com/r/javahelp | 26 Sep 2021
    (but tbh I would definitely suggest looking into Gson)
  • I would read documentation more if comments were this friendly
    1 project | reddit.com/r/mAndroidDev | 6 Sep 2021
    This is BTW not Kotlin's but Gson's fault. Gson does not know how to create data classes, and uses black magic to construct them with sun.misc.Unsafe calls. This skips all Kotlin's safeguards, creating essentially an object that should be impossible to exist in the JVM (that's why it's called "unsafe").
  • Gson using AutoValue and Polymorphism
    1 project | dev.to | 19 Jul 2021
    A lot of suggestions were made to look into custom (de)serializers, which is a good idea, but also a lot of work. I came across the β€œhidden” RuntimeTypeAdapterFactory class in the Gson repository which solved most of my problem quite nicely.
  • Add Json URL to TableView
    1 project | reddit.com/r/javahelp | 24 Apr 2021
    You will need to use an external library to deserialize the JSON. I'd suggest using gson (https://github.com/google/gson), because it does most of the heavy lifting for you (you basically just need to tell it what class you expect the json data to be deserialized as).
  • Pure Java / Json HTTP { "name": "value"}
    1 project | reddit.com/r/javahelp | 19 Apr 2021
    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
    2 projects | reddit.com/r/javahelp | 4 Apr 2021
    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
    2 projects | reddit.com/r/reactjs | 29 Mar 2021
    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
    1 project | reddit.com/r/learnjava | 8 Mar 2021
    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)
    10 projects | dev.to | 16 Feb 2021
    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.

What are some alternatives?

When comparing RxAndroid and Gson you can also consider the following projects:

Moshi - A modern JSON library for Kotlin and Java.

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

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

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

Jackson JSON Processor - Main Portal page for the Jackson project

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

JSON-io - Convert Java to JSON. Convert JSON to Java. Pretty print JSON. Java JSON serializer.

RxJava - RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.

LoganSquare - Screaming fast JSON parsing and serialization library for Android.

Yasson - Eclipse Yasson project

HikariJSON - High-performance JSON parser

Carteasy - A Shopping cart library for Android that allows you add to add items to cart and retrieve at ease using JSONObjects.