如题所述
是要用{ "category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95 }中的3个属性值确定一条数据。JsonPath(json, "$.store.book[?(@.category == 'reference')]");这个例子是一个属性,我想要的事3个属性