A
A
Alexander Vasilenko2016-02-16 12:08:08
Android
Alexander Vasilenko, 2016-02-16 12:08:08

Where can I find best practices for parsing JSON in Android?

Share resources, otherwise it seems that I'm doing something wrong all the time))
Thank you

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Gamega, 2016-02-16
@gadfi

if the files are not large, then gson (the most common case for mobile devices) if large, then jacson (several megabytes)
in both libraries, pojo models are simply described, there are different antonations, for example, for a normal name,
both libraries are good friends with retrofit (gson by default, jacson easily clings in the new one)

P
Peter, 2016-02-16
@petermzg

What could be wrong there? Elementary format .
Several times I wrote my parsers for him, spent a couple of hours in total, with tests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question