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

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.  
    GetRootElementName Optional name used as a root element in serializing JSON data.  
    GetAllowComments Allows single and multiline comments when serializing JSON data. Default = true.