parseJsonObjectPath

Attempts to parse the given path as a JsonPath, where the root component is applicable to a JSON object and therefore extractable via a key.

Calling this method with a path not starting with an object key, e.g. [1].key, is an error, and will throw JsonPathParseException.

See parse for explanation of accepted path format

Parameters

path

The string representing the JsonPath to be parsed

See also

Throws

when the path is syntactically invalid, or the root component of the path is not an object key