public class JSONObjectHelper extends GenericJsonConfigurationHelper<org.json.JSONObject>
JSONObject, with JSONPath capabilities.| Constructor and Description |
|---|
JSONObjectHelper(org.json.JSONObject jsonObject)
Creates a new helper for the given
JSONObject. |
| Modifier and Type | Method and Description |
|---|---|
double |
getDouble(String jsonPath) |
getBean, getBoolean, getInt, getLong, getMandatoryBoolean, getMandatoryDouble, getMandatoryInt, getMandatoryLong, getMandatoryString, getStringgetNullValueProvider, setNullValueProviderpublic JSONObjectHelper(org.json.JSONObject jsonObject)
JSONObject.jsonObject - the JSON object to be setpublic double getDouble(String jsonPath)
getDouble in interface ConfigurationDataRetriever<org.json.JSONObject>getDouble in class GenericJsonConfigurationHelper<org.json.JSONObject>Copyright © 2021. All rights reserved.