LiquidTechnologies.XmlObjects Namespace / JsonXsiNilHandling Enumeration

In This Topic
    JsonXsiNilHandling Enumeration
    In This Topic
    Determines how the xsi:nil attribute is dealt with when converting from XML to JSON
    Public Enum JsonXsiNilHandling 
       Inherits System.Enum
    public enum JsonXsiNilHandling : System.Enum 
    Attribute0xsi:nil is converted to "property": { @nil:true } This is verbose but allows additional attributes the element has and any namespace declarations to be added as well.
    Null1xsi:nil is converted to "property": null This has limitations. If the element has attributes or requires a namespace attribute then this will fail.
    Inheritance Hierarchy



    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also