convertToJSON()

The serviceLib.convertToJSON() system function converts a record or dictionary into a JSON string. For details on the conversion, see “Correspondence between a JSON string and an EGL variable.”

Syntax

serviceLib.convertToJSON(variable VariableType out) 
   returns (json STRING)
variable
The name of a non-structured record or dictionary
json
A JSON string

Feedback