How to search/find In JSON with java

后端 未结 4 1796
忘了有多久
忘了有多久 2020-12-05 20:30

I have a below JSON string from the below i want to find/search criteria in JSON String.

1). To find the Number of keys present. 2). To get the values of given key(

4条回答
  •  情书的邮戳
    2020-12-05 21:05

    I would try the following library

    https://github.com/jayway/JsonPath

    http://jsonpath.herokuapp.com/?path=%24.store.book[*]

    gives you all books

提交回复
热议问题