|
|
|
|
<JSON variable>.ToString (Function) In french: <Variable JSON>.VersChaîne Converts the content of a JSON variable to a JSON string.
Person is JSON Person.LastName = "MOORE" Person.FirstName = "Vince" // Displays: { "LastName":"MOORE", "FirstName":"Vince" } Trace(Person.ToString()) Syntax
<Result> = <JSON variable>.ToString([<Options>])
<Result>: Character string JSON string resulting from the conversion of the JSON variable. In case of failure, the ErrorOccurred variable is set to True and ErrorInfo returns the details of the error. <JSON variable>: JSON variable Name of the JSON variable to be converted to a JSON string. <Options>: Optional integer JSON string formatting option: | | psdFormatting | Generates a JSON string with carriage returns and indentation. | psdMinified | Generates a minified JSON string, without carriage returns or spacing characters. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|