依赖 <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>2.4.0</version> </dependency> 使用 //jsonStr 应为json字符串 Object sss = JsonPath.parse(jsonStr).read("$.words_result.姓名.words"); https://github.com/json-path/JsonPath