How to get a value from a JSON string using jackson library?

后端 未结 3 889
余生分开走
余生分开走 2021-01-02 00:59

I am trying to get a value from a JSON string but I am getting a null value instead.

App2.java :

package JsonExample1;

import org.codehaus.jackson.J         


        
3条回答
  •  一整个雨季
    2021-01-02 01:24

    Another way to get the inner element, with .at() method:

    rootNode.at("/HotelListResponse/customerSessionId")
    

提交回复
热议问题