Package | Description |
---|---|
io.restassured.path.json |
Modifier and Type | Method and Description |
---|---|
JsonPath |
JsonPath.and()
Syntactic sugar.
|
static JsonPath |
JsonPath.from(File file)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.from(InputStream stream)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.from(Reader reader)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.from(String text)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.from(URL url)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.given(File file)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.given(InputStream stream)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.given(Reader reader)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.given(String text)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.given(URL url)
Instantiate a new JsonPath instance.
|
JsonPath |
JsonPath.param(String key,
Object value)
Add a parameter for the expression.
|
JsonPath |
JsonPath.peek()
Peeks into the JSON that JsonPath will parse by printing it to the console.
|
JsonPath |
JsonPath.prettyPeek()
Peeks into the JSON that JsonPath will parse by printing it to the console in a prettified manner.
|
JsonPath |
JsonPath.setRoot(String rootPath)
Deprecated.
Use
setRootPath(String) instead |
JsonPath |
JsonPath.setRootPath(String rootPath)
Set the root path of the document so that you don't need to write the entire path.
|
JsonPath |
JsonPath.using(GsonObjectMapperFactory factory)
Configure JsonPath to use a specific Gson object mapper factory
|
JsonPath |
JsonPath.using(Jackson1ObjectMapperFactory factory)
Configure JsonPath to use a specific Jackson object mapper factory
|
JsonPath |
JsonPath.using(Jackson2ObjectMapperFactory factory)
Configure JsonPath to use a specific Jackson 2 object mapper factory
|
JsonPath |
JsonPath.using(JsonPathConfig config)
Configure JsonPath to with a specific JsonPathConfig.
|
static JsonPath |
JsonPath.with(File file)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.with(InputStream stream)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.with(Reader reader)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.with(String text)
Instantiate a new JsonPath instance.
|
static JsonPath |
JsonPath.with(URL url)
Instantiate a new JsonPath instance.
|
Copyright © 2010–2022. All rights reserved.