简体   繁体   中英

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.

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 ig via the constructor.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM