How to return a list of values ​​of all properties where the property name begins with the given prefix in JsonPath

I have a JSON object of the following form.

{ "prefix.key1":"val", "prefix.key2":"val2", ...... "anotherKey":"value", "morekeys":"value" } 

I need all the values ​​for the properties, where the property name begins with the string "prefix". Is this possible with JsonPath?

+5
source share

Source: https://habr.com/ru/post/1270531/


All Articles