public class XMLToJSONObjectMapper extends Object implements Mapper<org.json.JSONObject>
Mapper that loads XML data from a given InputStream and
converts it into a JSONObject.| Constructor and Description |
|---|
XMLToJSONObjectMapper() |
| 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 © 2021. All rights reserved.