JSONItem.IndentSpacing

From Xojo Documentation

Property (As Integer )
aJSONItem.IndentSpacing = newIntegerValue
or
IntegerValue = aJSONItem.IndentSpacing

New in 2011r2

Supported for all project types and targets.

Sets the number of spaces used for each level of indenting in a JSON String. This property is ignored if Compact is True.

Example

The following example specifies two spaces.

Var person As New JSONItem
person.DecimalFormat = "###,###.##"
person.IndentSpacing = 2