Class JsonPathResolver
Resolves the JSON path subset the response reads accept: $ for the document root, dot members
(\(.customer.id</code>) and zero-based array indices (<code>\).items[0].id). A leading member without
\(</code> is accepted as <code>\).member. Members match case-sensitively; filters, wildcards,
quoted names and slices are deliberately not part of the subset.
public static class JsonPathResolver
- Inheritance
-
JsonPathResolver
- Inherited Members
Methods
Resolve(JsonElement, string)
Returns the element path points at, or throws JsonPathException
naming the path and the reason it did not resolve.
public static JsonElement Resolve(JsonElement root, string path)
Parameters
rootJsonElementpathstring