Open uniquejava opened 4 years ago
https://github.com/json-path/JsonPath
<dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>2.4.0</version> </dependency>
String json = "..."; List<String> authors = JsonPath.read(json, "$.store.book[*].author");
README
https://github.com/json-path/JsonPath
pom
Hello world
常见path