peWhitespace - cJsonObject

Controls if/how whitespace is added to the generated JSON when calling the Stringify function

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 Property Integer peWhitespace

Read Access: Get peWhitespace to IntegerVariable
Write Access: Set peWhitespace to IntegerVariable/Value


Description

This property controls if/how whitespace is added to the generated JSON when calling the Stringify function. It should be set on the object where Stringify is called, setting it on parent objects does not work.

Valid values:

ConstantMeaning
jpWhitespace_Plain No whitespace is added. The most optimal setting. (default)
jpWhitespace_SpacedSpaces are added between property names and their values.
jpWhitespace_PrettyThe most readable format with line feeds and indention spaces.