Liquid XML Data Binder 2019
JsonContext
Liquid XML Data Binder (C++, Java, VB6) > Reference > Java > Reference > com.liquid_technologies.ltxmllib17 > SerializationContext > JsonContext > JsonContext

JsonContext getJsonContext();

JsonContext 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 = 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