ParseInstance

ParseInstance parses a JSON string.

Syntax

ParseInstance OBJECT With JSON_OBJECT
  • OBJECTis the object used to parse to parse the input JSON.
  • JSON_OBJECT is the JSON string to be parsed (ClobFile recommended).

Example

# Procedure to parse a JSON object
 Local Clbfile SRCJSON
 SRCJSON = '{"msg":"Hello World!"}'
    
  # Create the object
  Local Instance OBJ Using OBJECT
    
  # Parse the object
  ParseInstance OBJ With SRCJSON

  FreeGroup OBJ

See also

Contains$
Select$