Liquid XML Data Binder 2019
GetJsonContext
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > CSerializationContext > JsonContext > GetJsonContext

CJsonContext& GetJsonContext() const;

LtXmlLib17::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