root

Starts configuring a JsonPath that should be applied to a JSON object.

Additional JsonPath components can be appended through the returned JsonPath via the JsonPath.key and JsonPath.index methods.

Return

The JsonPath used to continue configuring this JsonPath

Parameters

key

The key name used to extract the first item in the json object


Starts configuring a JsonPath that should be applied to a JSON array.

Additional JsonPath components can be appended through the returned JsonPath via the JsonPath.key and JsonPath.index methods.

Return

The JsonPath used to continue configuring this JsonPath

Parameters

index

The index used to extract the first item in the json array