Liquid XML Data Binder 2019
C++ RootElementName - CJsonContext
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > CSerializationContext > JsonContext > C++ RootElementName - CJsonContext
std::tstring GetRootElementName() const
void SetRootElementName(LPCTSTR lpctRootElementName)
  Property Description  
    Property Name RootElementName  
    Property Type std::tstring  
    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 docuemnt.
This optional value allows you to specify a root level element which the generator will use as the single root of the XML document.