'Extract json data first level

I have the following webservice that returns a JSON response:

API signature: http://feiertage.jarmedia.de/api/?jahr=2016

I need to query the first level (where "BW","BB","BY"... are present) using JSONPath well as the list of the names (e.g. "Neujahrstag", "Heilige Drei Könige").



Solution 1:[1]

JsonPath.parse(yourJsonString).read("$[*]['name']")

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitry