Package | Description |
---|---|
com.jayway.jsonpath | |
com.jayway.jsonpath.internal |
Modifier and Type | Method and Description |
---|---|
DocumentContext |
WriteContext.add(JsonPath path,
Object value)
Add value to array at the given path
|
DocumentContext |
WriteContext.add(String path,
Object value,
Predicate... filters)
Add value to array
|
DocumentContext |
WriteContext.delete(JsonPath path)
Deletes the given path
|
DocumentContext |
WriteContext.delete(String path,
Predicate... filters)
Deletes the given path
|
DocumentContext |
WriteContext.map(JsonPath path,
MapFunction mapFunction)
Replaces the value on the given path with the result of the
MapFunction . |
DocumentContext |
WriteContext.map(String path,
MapFunction mapFunction,
Predicate... filters)
Replaces the value on the given path with the result of the
MapFunction . |
DocumentContext |
ParseContext.parse(File json) |
static DocumentContext |
JsonPath.parse(File json)
Parses the given JSON input using the default
Configuration and
returns a DocumentContext for path evaluation |
static DocumentContext |
JsonPath.parse(File json,
Configuration configuration)
Parses the given JSON input using the provided
Configuration and
returns a DocumentContext for path evaluation |
DocumentContext |
ParseContext.parse(InputStream json) |
static DocumentContext |
JsonPath.parse(InputStream json)
Parses the given JSON input using the default
Configuration and
returns a DocumentContext for path evaluation |
static DocumentContext |
JsonPath.parse(InputStream json,
Configuration configuration)
Parses the given JSON input using the provided
Configuration and
returns a DocumentContext for path evaluation |
DocumentContext |
ParseContext.parse(InputStream json,
String charset) |
DocumentContext |
ParseContext.parse(Object json) |
static DocumentContext |
JsonPath.parse(Object json)
Parses the given JSON input using the default
Configuration and
returns a DocumentContext for path evaluation |
static DocumentContext |
JsonPath.parse(Object json,
Configuration configuration)
Parses the given JSON input using the provided
Configuration and
returns a DocumentContext for path evaluation |
DocumentContext |
ParseContext.parse(String json) |
static DocumentContext |
JsonPath.parse(String json)
Parses the given JSON input using the default
Configuration and
returns a DocumentContext for path evaluation |
static DocumentContext |
JsonPath.parse(String json,
Configuration configuration)
Parses the given JSON input using the provided
Configuration and
returns a DocumentContext for path evaluation |
static DocumentContext |
JsonPath.parse(URL json)
Parses the given JSON input using the default
Configuration and
returns a DocumentContext for path evaluation |
static DocumentContext |
JsonPath.parse(URL json,
Configuration configuration)
Parses the given JSON input using the provided
Configuration and
returns a DocumentContext for path evaluation |
DocumentContext |
WriteContext.put(JsonPath path,
String key,
Object value)
Add or update the key with a the given value at the given path
|
DocumentContext |
WriteContext.put(String path,
String key,
Object value,
Predicate... filters)
Add or update the key with a the given value at the given path
|
DocumentContext |
WriteContext.renameKey(JsonPath path,
String oldKeyName,
String newKeyName)
Renames the last key element of a given path.
|
DocumentContext |
WriteContext.renameKey(String path,
String oldKeyName,
String newKeyName,
Predicate... filters)
Renames the last key element of a given path.
|
DocumentContext |
WriteContext.set(JsonPath path,
Object newValue)
Set the value a the given path
|
DocumentContext |
WriteContext.set(String path,
Object newValue,
Predicate... filters)
Set the value a the given path
|
Modifier and Type | Class and Description |
---|---|
class |
JsonContext |
Modifier and Type | Method and Description |
---|---|
DocumentContext |
JsonContext.add(JsonPath path,
Object value) |
DocumentContext |
JsonContext.add(String path,
Object value,
Predicate... filters) |
DocumentContext |
JsonContext.delete(JsonPath path) |
DocumentContext |
JsonContext.delete(String path,
Predicate... filters) |
DocumentContext |
JsonContext.map(JsonPath path,
MapFunction mapFunction) |
DocumentContext |
JsonContext.map(String path,
MapFunction mapFunction,
Predicate... filters) |
DocumentContext |
JsonContext.parse(File json) |
DocumentContext |
JsonContext.parse(InputStream json) |
DocumentContext |
JsonContext.parse(InputStream json,
String charset) |
DocumentContext |
JsonContext.parse(Object json) |
DocumentContext |
JsonContext.parse(String json) |
DocumentContext |
JsonContext.put(JsonPath path,
String key,
Object value) |
DocumentContext |
JsonContext.put(String path,
String key,
Object value,
Predicate... filters) |
DocumentContext |
JsonContext.renameKey(JsonPath path,
String oldKeyName,
String newKeyName) |
DocumentContext |
JsonContext.renameKey(String path,
String oldKeyName,
String newKeyName,
Predicate... filters) |
DocumentContext |
JsonContext.set(JsonPath path,
Object newValue) |
DocumentContext |
JsonContext.set(String path,
Object newValue,
Predicate... filters) |
Copyright © 2016. All rights reserved.