MH16
MH16

Reputation: 2356

Json parsing using Jackson Parser in android?

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

Answers (2)

Zsombor Erdődy-Nagy
Zsombor Erdődy-Nagy

Reputation: 16914

Try using thed Gson lib to deserialize json objects. Less painful to use, and it supports large objects quite well.

Upvotes: 0

Ben Weiss
Ben Weiss

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

Related Questions