Constructor and Description |
---|
JsonConfig()
Create a new instance of XmlConfig without any features and that is namespace unaware.
|
JsonConfig(io.restassured.path.json.config.JsonPathConfig.NumberReturnType numberReturnType) |
JsonConfig(io.restassured.path.json.config.JsonPathConfig.NumberReturnType numberReturnType,
boolean isUserDefined) |
Modifier and Type | Method and Description |
---|---|
boolean |
isUserConfigured() |
static JsonConfig |
jsonConfig() |
io.restassured.path.json.config.JsonPathConfig.NumberReturnType |
numberReturnType() |
JsonConfig |
numberReturnType(io.restassured.path.json.config.JsonPathConfig.NumberReturnType numberReturnType)
Specifies if JSON parsing should use floats and doubles or BigDecimals to represent Json numbers.
|
boolean |
shouldRepresentJsonNumbersAsBigDecimal() |
JsonConfig |
with()
For syntactic sugar.
|
public JsonConfig()
public JsonConfig(io.restassured.path.json.config.JsonPathConfig.NumberReturnType numberReturnType)
public JsonConfig(io.restassured.path.json.config.JsonPathConfig.NumberReturnType numberReturnType, boolean isUserDefined)
public io.restassured.path.json.config.JsonPathConfig.NumberReturnType numberReturnType()
public boolean shouldRepresentJsonNumbersAsBigDecimal()
public JsonConfig numberReturnType(io.restassured.path.json.config.JsonPathConfig.NumberReturnType numberReturnType)
numberReturnType
- The choice.public JsonConfig with()
public static JsonConfig jsonConfig()
public boolean isUserConfigured()
isUserConfigured
in interface Config
true
if this config instance has been explicitly configured by the user, false
if it has the default values.Copyright © 2010–2019. All rights reserved.