Liquid XML Data Binder 2020
Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CSerializationContext / JsonContext / GetJsonContext
In This Topic
    GetJsonContext
    In This Topic

    CJsonContext& GetJsonContext() const;

    LtXmlLib18::CJsonContext Structure

    The JsonContext structure controls the way in which JSON is serialized and de-serialized. It allows aspects of the data to be controlled.
    Base Classes: None
      Members Description  
        GetSupportRoundtrip The mode used when serializing JSON data. Default = JsonRoundTrip_Full.  
        SetSupportRoundtrip  
        GetRootElementName Optional name used as a root element in serializing JSON data.  
        SetRootElementName  
        GetAllowComments Allows single and multiline comments when serializing JSON data. Default = true.  
        SetAllowComments