JSON2XMLHelper
Path
com.huawei.livedata.util.JSON2XMLHelper
Description
This class is used to perform conversion between JSON and XML.
Method List
Method Details
- public static String JSON2XML(String json, boolean returnFormat)
Convert from JSON to XML.
Input Parameter
- json indicates a character string in JSON format.
- returnFormat indicates the return format.
Returns
Character string in the XML format.
- public static String XML2JSON(String xml)
Convert from XML to JSON.
Input Parameter
xml indicates a character string in XML format.
Returns
Character string in the XML format.
Last Article: JedisConfig
Next Article: JSONHelper
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.