Uses of Interface
com.jayway.jsonpath.DocumentContext
-
Packages that use DocumentContext Package Description com.jayway.jsonpath com.jayway.jsonpath.internal -
-
Uses of DocumentContext in com.jayway.jsonpath
Methods in com.jayway.jsonpath that return DocumentContext Modifier and Type Method Description DocumentContext
WriteContext. add(JsonPath path, java.lang.Object value)
Add value to array at the given pathDocumentContext
WriteContext. add(java.lang.String path, java.lang.Object value, Predicate... filters)
Add value to arrayDocumentContext
WriteContext. delete(JsonPath path)
Deletes the given pathDocumentContext
WriteContext. delete(java.lang.String path, Predicate... filters)
Deletes the given pathDocumentContext
WriteContext. map(JsonPath path, MapFunction mapFunction)
Replaces the value on the given path with the result of theMapFunction
.DocumentContext
WriteContext. map(java.lang.String path, MapFunction mapFunction, Predicate... filters)
Replaces the value on the given path with the result of theMapFunction
.static DocumentContext
JsonPath. parse(java.io.File json)
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.io.File json, Configuration configuration)
Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.io.InputStream json)
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.io.InputStream json, Configuration configuration)
Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.lang.Object json)
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.lang.Object json, Configuration configuration)
Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.lang.String json)
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.lang.String json, Configuration configuration)
Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.net.URL json)
Parses the given JSON input using the defaultConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath. parse(java.net.URL json, Configuration configuration)
Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationDocumentContext
ParseContext. parse(java.io.File json)
DocumentContext
ParseContext. parse(java.io.InputStream json)
DocumentContext
ParseContext. parse(java.io.InputStream json, java.lang.String charset)
DocumentContext
ParseContext. parse(java.lang.Object json)
DocumentContext
ParseContext. parse(java.lang.String json)
DocumentContext
WriteContext. put(JsonPath path, java.lang.String key, java.lang.Object value)
Add or update the key with a the given value at the given pathDocumentContext
WriteContext. put(java.lang.String path, java.lang.String key, java.lang.Object value, Predicate... filters)
Add or update the key with a the given value at the given pathDocumentContext
WriteContext. renameKey(JsonPath path, java.lang.String oldKeyName, java.lang.String newKeyName)
Renames the last key element of a given path.DocumentContext
WriteContext. renameKey(java.lang.String path, java.lang.String oldKeyName, java.lang.String newKeyName, Predicate... filters)
Renames the last key element of a given path.DocumentContext
WriteContext. set(JsonPath path, java.lang.Object newValue)
Set the value a the given pathDocumentContext
WriteContext. set(java.lang.String path, java.lang.Object newValue, Predicate... filters)
Set the value a the given path -
Uses of DocumentContext in com.jayway.jsonpath.internal
Classes in com.jayway.jsonpath.internal that implement DocumentContext Modifier and Type Class Description class
JsonContext
Methods in com.jayway.jsonpath.internal that return DocumentContext Modifier and Type Method Description DocumentContext
JsonContext. add(JsonPath path, java.lang.Object value)
DocumentContext
JsonContext. add(java.lang.String path, java.lang.Object value, Predicate... filters)
DocumentContext
JsonContext. delete(JsonPath path)
DocumentContext
JsonContext. delete(java.lang.String path, Predicate... filters)
DocumentContext
JsonContext. map(JsonPath path, MapFunction mapFunction)
DocumentContext
JsonContext. map(java.lang.String path, MapFunction mapFunction, Predicate... filters)
DocumentContext
JsonContext. parse(java.io.File json)
DocumentContext
JsonContext. parse(java.io.InputStream json)
DocumentContext
JsonContext. parse(java.io.InputStream json, java.lang.String charset)
DocumentContext
JsonContext. parse(java.lang.Object json)
DocumentContext
JsonContext. parse(java.lang.String json)
DocumentContext
JsonContext. put(JsonPath path, java.lang.String key, java.lang.Object value)
DocumentContext
JsonContext. put(java.lang.String path, java.lang.String key, java.lang.Object value, Predicate... filters)
DocumentContext
JsonContext. renameKey(JsonPath path, java.lang.String oldKeyName, java.lang.String newKeyName)
DocumentContext
JsonContext. renameKey(java.lang.String path, java.lang.String oldKeyName, java.lang.String newKeyName, Predicate... filters)
DocumentContext
JsonContext. set(JsonPath path, java.lang.Object newValue)
DocumentContext
JsonContext. set(java.lang.String path, java.lang.Object newValue, Predicate... filters)
-