GithubHelp home page GithubHelp logo

Comments (4)

drcabral avatar drcabral commented on July 20, 2024 2

Hello @afrinsulthana and @krizzu!

Thanks for all of the suggestions!

We are including them on our roadmap in our next update the Moshi and the section JSON data parsing (it will be in #6).

from android-developer-roadmap.

afrinsulthana avatar afrinsulthana commented on July 20, 2024

I would like to know if Moshi can be a better recommendation than GSON if I am planning to start a new Android project?

I read the following few advantages of Moshi in comparison with GSON:

  1. Better JSON Serialization and Deserialization performance
  2. Lesser size in APK.
  3. Better Kotlin support. More robust in capturing errors and exceptions like missing params in response, in Gson missing params becomes NULL instead of throwing Exception whereas Moshi can parse JSON based on Kotlin declaration to determine whether a field can be nullable or not.

I would like to hear your suggestions since I have not used Moshi before.

from android-developer-roadmap.

krizzu avatar krizzu commented on July 20, 2024

I believe that Network Handling could point to JSON data parsing which points to Gson Moshi and other valid libs.

from android-developer-roadmap.

drcabral avatar drcabral commented on July 20, 2024

added in #6

from android-developer-roadmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.