Reputation: 2356
I am a newbie in Android , I am doing a project where json parsing is done by calling a URL. I am able to do this by using built-in json parser provided by android. But when i try to parse huge json response ,it fails. I got to know about another parser, "Jackson parser". I googled a lot,but with no luck. So , can anybody suggest me a way to parse json using Jackson parser through url?
OR
Provide me some example links, if possible? I think, It will be helpful to other newbies like me.
Upvotes: 1
Views: 1293
Reputation: 16914
Try using thed Gson lib to deserialize json objects. Less painful to use, and it supports large objects quite well.
Upvotes: 0
Reputation: 17922
You might want to give the package org.json a try. It is provided directly from the Android sdk. JSONObjects can directly be parsed and provided to your objects i.g. via the constructor.
Upvotes: 1