convertToJSON()

The serviceLib.convertToJSON() system function converts a record or dictionary into a JSON string. For details on the conversion, see Copying a JSON string to and from 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