RTI_JSON Function (OI10)
Description
The RTI_JSON function allows you to evaluate a JSON (JavaScript Object Notation) expression. After passing in a JSON expression, you can evaluate the expression, and retrieve results.
RTI_JSON in OpenInsight 10.x is a configurable "wrapper" around two other functions, RTI_JSONX and RTI_JSON9.
RTI_JSONX (the default) calls the RTI_RJSON function to process JSON requests.
RTI_JSON9 is provided for those instances where you require OpenInsight 9 backwards compatibility.
To select RTI_JSON9, edit or create a record in SYSENV named CFG_RTI_JSON, and put "RTI_JSON9" in field 1.
You may make an application-specific configuration record by adding the application name as a suffix (for example, CFG_RTI_JSON*EXAMPLES). You may make a user-specific configuration record by adding "**<user_name>" as a suffix (for example, CFG_RTI_JSON**MYUSER), and you may make an application-and-user-specific configuration record by adding "*<appid>*<username>" (for example, CFG_RTI_JSON*EXAMPLES*MYUSER).
Please see RTI_JSONX and RTI_JSON9 for more details on the specific routines.