How to parse json response using Jackson in android?

前端 未结 3 1686
醉梦人生
醉梦人生 2021-01-02 08:51

I am getting some json response by hitting url. I want to use jackson to parse json response. I tried with object Mapper but I am getting exceptions.

json:



        
3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-02 09:06

    Well i always create my Model / Pojo class using jsonschema2pojo.org!

    you need to provide your json data and based on that data it will create pojo / Model class for you ! very cool !

提交回复
热议问题