Class XmlToJsonExtensions


  • public class XmlToJsonExtensions
    extends java.lang.Object
    The class XmlToJsonExtensions provides methods for convert xml string objects to json string
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toJson​(java.lang.String xmlString)
      Creates from the given xml string and class a json string
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toJson

        public static java.lang.String toJson​(java.lang.String xmlString)
        Creates from the given xml string and class a json string
        Parameters:
        xmlString - the xml string
        Returns:
        the json string