'Declaration
Public Overloads Sub Serialize( _ ByVal textWriter As System.IO.TextWriter, _ ByVal elementObj As System.Object, _ Optional ByVal settings As LjWriterSettings, _ Optional ByVal elementName As System.Xml.XmlQualifiedName _ )
public void Serialize( System.IO.TextWriter textWriter, System.object elementObj, LjWriterSettings settings, System.Xml.XmlQualifiedName elementName )
Parameters
- textWriter
- The System.IO.TextWriter to write the JSON data to
- elementObj
- The Liquid XML Objects attributed class to serialize
- settings
- The Liquid XML Objects settings to control the serialization, default configuration is used if null
- elementName
- The name of the root XML element. Only required if the elementObj is a complexType (attributed with LiquidTechnologies.XmlObjects.Attribution.LxComplexTypeDefinitionAttribute).