JsonNodeSerialise(JsonFormat) Method
Serialise into the specified layout. If
Indent_Spaces is selected,
a default of four spaces per indent level will be used.
Namespace: MichaelBrooks.UK.JsonAssembly: JsonDOM (in JsonDOM.dll) Version: 1.0.7
public string Serialise(
JsonFormat format
)
- format JsonFormat
StringA JSON serialisation of the DOM with the current JsonNode treated as the root.
If you wish to serialise to a multiline format with control over the size of
the indent employed, use the
Serialise(UInt32) overload.
Online page.