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
Related concepts
Correspondence between a JSON string and an EGL variable
Services: a top-level overview
Related task
Creating Record parts from JSON, XML, and XML Schema
Related reference
convertFromJSON()
EGL library serviceLib
Feedback