Language Reference Guide : System Classes : JsonHandler Class : SetIndent Method
 
Share this page          
SetIndent Method
Sets both the IndentChar and IndentCharCount attributes.
This method has the following syntax:
integer = JsonHandler.SetIndent(indentchar = varchar(1), indentcharcount = smallint)
This method has the following parameters:
indentchar
Specifies the value of the IndentChar attribute
indentcharcount
Specifies the value of the IndentCharCount attribute
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL.
Descriptions of system constant values and their numeric equivalents are listed in Error Codes.