wwJsonSerializer::FormattedOutput

When .T. causes the output to be pretty formatted with indentations for each object level.

This flag affects the behavior of the Serialize() method.

o.FormattedOutput

Remarks

Note that formatting is performed as a post processing step, which reloads and then formats the JSON document. Use formatted output only for debugging or other scenarios where readability is important. For production use non-formatted JSON generates faster and is considerably smaller in size.

This feature relies on the .NET serialization components using wwDotnetBridge and Newtonsoft.json.dll.

See also:

Class wwJsonSerialize

© West Wind Technologies, 2023 • Updated: 10/09/17
Comment or report problem with topic