Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / SerializationContext / JsonContext / Java RootElementName - JsonContext
In This Topic
    Java RootElementName - JsonContext
    In This Topic
    String getRootElementName() const
    void setRootElementName(String value)
      Property Description  
        Property Name RootElementName  
        Property Type String  
        Accessors Read/Write  
        Description Optional name used as a root element in serializing JSON data.  
        Remarks Sometimes JSON data may produce multiple root level elements which would produce an invalid XML document.
    This optional value allows you to specify a root level element which the generator will use as the single root of the XML document.