Example usage for Java org.json XML fields, constructors, methods, implement or subclass
The text is from its open source code.
JSONObject | toJSONObject(String string) Convert a well-formed (but not necessarily valid) XML string into a JSONObject. |
String | toString(Object object, String tagName) Convert a JSONObject into a well-formed, element-normal XML string. |
String | toString(Object object) Convert a JSONObject into a well-formed, element-normal XML string. |