public class JsonConfig extends Object
| Constructor and Description |
|---|
JsonConfig()
Create a new instance of XmlConfig without any features and that is namespace unaware.
|
JsonConfig(JsonPathConfig.NumberReturnType numberReturnType) |
| Modifier and Type | Method and Description |
|---|---|
static JsonConfig |
jsonConfig() |
JsonPathConfig.NumberReturnType |
numberReturnType() |
JsonConfig |
numberReturnType(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(JsonPathConfig.NumberReturnType numberReturnType)
public JsonPathConfig.NumberReturnType numberReturnType()
public boolean shouldRepresentJsonNumbersAsBigDecimal()
public JsonConfig numberReturnType(JsonPathConfig.NumberReturnType numberReturnType)
numberReturnType - The choice.public JsonConfig with()
public static JsonConfig jsonConfig()
Copyright © 2010–2014. All rights reserved.