|
|
|
|
|
VariantToJSON (Function) In french: VariantVersJSON Converts the content of a Variant variable to JSON.
Person is Variant Person.LastName = "MOORE" Person.FirstName = "Vince" Â Trace(VariantToJSON(Person)) Â Â // Displays: { "LastName":"MOORE", "FirstName":"Vince" }
Syntax
<Result> = VariantToJSON(<Variant> [, <Options>])
<Result>: Character string Result of the conversion to JSON. <Variant>: Variant variable Name of the Variant variable to be converted to JSON. <Options>: Integer constant JSON formatting options: | | psdFormatting | Generates a JSON string with carriage returns and indentation. | psdMinified | Generates a JSON string without unnecessary spaces (carriage returns, spaces, etc.). |
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|