public class JSONObjectMapper extends Object implements Mapper<org.json.JSONObject>
Mapper that loads the contents of a valid JSON Source
(e.g.: file, URL) as a JSONObject (json.org reference implementation).| Constructor and Description |
|---|
JSONObjectMapper() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
apply(InputStream inputStream) |
ConfigurationHelper<org.json.JSONObject> |
configurationHelper(org.json.JSONObject jsonObject) |
public org.json.JSONObject apply(InputStream inputStream) throws IOException
apply in interface Mapper<org.json.JSONObject>IOExceptionpublic ConfigurationHelper<org.json.JSONObject> configurationHelper(org.json.JSONObject jsonObject)
configurationHelper in interface Mapper<org.json.JSONObject>Copyright © 2022. All rights reserved.