JsonFormat Enumeration

Controls the layout of the generated JSON when serialising the DOM via the Serialise(JsonFormat) method.

Definition

Namespace: MichaelBrooks.UK.Json
Assembly: JsonDOM (in JsonDOM.dll) Version: 1.0.7
C#
public enum JsonFormat

Remarks

Members

Compact0 Strip out all superfluous whitespace.
SingleLine1 No line feeds, but does include some spaces to assist readability.
Indent_Tabs2 Multiline format (using linefeeds) with indenting, whereby the indents are created using tab characters.
Indent_Spaces3 Multiline format (using linefeeds) with indenting, whereby the indents are created using spaces.

See Also