Uses of Interface
com.jayway.jsonpath.DocumentContext
Packages that use DocumentContext
-
Uses of DocumentContext in com.jayway.jsonpath
Methods in com.jayway.jsonpath that return DocumentContextModifier and TypeMethodDescriptionAdd value to array at the given pathAdd value to arrayDeletes the given pathDeletes the given pathWriteContext.map
(JsonPath path, MapFunction mapFunction) Replaces the value on the given path with the result of theMapFunction
.WriteContext.map
(String path, MapFunction mapFunction, Predicate... filters) Replaces the value on the given path with the result of theMapFunction
.static DocumentContext
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(File json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(InputStream json) Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(InputStream json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(Object json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(String json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(URL json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationParseContext.parse
(InputStream json) ParseContext.parse
(InputStream json, String charset) Add or update the key with a the given value at the given pathAdd or update the key with a the given value at the given pathRenames the last key element of a given path.Renames the last key element of a given path.Set the value a the given pathSet the value a the given path -
Uses of DocumentContext in com.jayway.jsonpath.internal
Classes in com.jayway.jsonpath.internal that implement DocumentContextMethods in com.jayway.jsonpath.internal that return DocumentContextModifier and TypeMethodDescriptionJsonContext.map
(JsonPath path, MapFunction mapFunction) JsonContext.map
(String path, MapFunction mapFunction, Predicate... filters) JsonContext.parse
(InputStream json) JsonContext.parse
(InputStream json, String charset)