guides:programming:programmers_reference_manual:rti_json_function_oi9

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

guides:programming:programmers_reference_manual:rti_json_function_oi9 [2025/03/21 18:48] – created bshumskyguides:programming:programmers_reference_manual:rti_json_function_oi9 [2025/04/07 14:57] (current) bshumsky
Line 19: Line 19:
 ^Action^Description^ ^Action^Description^
 |Parse|Handle: the javascript function or JSON expression\\ \\ Return value: the handle to use for subsequent RTI_JSON calls if successful, or 0 if unsuccessful| |Parse|Handle: the javascript function or JSON expression\\ \\ Return value: the handle to use for subsequent RTI_JSON calls if successful, or 0 if unsuccessful|
 +|New|Handle: unused, pass in empty string (“”)\\ \\ Param1: the type of variable to create.  Valid types include “OBJECT” (for a generic object), “NUMBER”, “STRING”, “BOOLEAN”, “DATE”, “REGEXP”, and “ARRAY”\\ \\ Param2: the initial value of the created variable\\ \\ Return value: the evaluated variable object|
 +|Stringify|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Return value: the string representation of the JSON object|
 |GetValue|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Param1: the name of the variable whose value should be retrieved.  This can be an array element (enclosed in square braces, ie, “[1]”) if accessing an array object.\\ \\ Return value: the specified variable’s value| |GetValue|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Param1: the name of the variable whose value should be retrieved.  This can be an array element (enclosed in square braces, ie, “[1]”) if accessing an array object.\\ \\ Return value: the specified variable’s value|
 |SetValue|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Param1: the name of the variable whose value should be set.  This can be an array element (enclosed in square braces, ie, “[1]”) if accessing an array object.\\ \\ Param2: the value to which the variable should be set\\ \\ Param3: “1” if the value represents an object rather than a simple string\\ \\ Return value: 0 if successful, or OLE error code| |SetValue|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Param1: the name of the variable whose value should be set.  This can be an array element (enclosed in square braces, ie, “[1]”) if accessing an array object.\\ \\ Param2: the value to which the variable should be set\\ \\ Param3: “1” if the value represents an object rather than a simple string\\ \\ Return value: 0 if successful, or OLE error code|
-|Stringify|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Return value: the string representation of the JSON object| 
 |GetProperties|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Return value: @VM delimited list of the properties of the javascript or JSON object| |GetProperties|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Return value: @VM delimited list of the properties of the javascript or JSON object|
 |GetMethods|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Return value: @VM delimited list of the methods of the javascript or JSON object| |GetMethods|Handle: the variable that contains the previously-created javascript or JSON object\\ \\ Return value: @VM delimited list of the methods of the javascript or JSON object|
 |Eval|Handle: unused, pass in empty string (“”)\\ \\ Param1: javascript source or JSON string\\ \\ Return value: the evaluated object| |Eval|Handle: unused, pass in empty string (“”)\\ \\ Param1: javascript source or JSON string\\ \\ Return value: the evaluated object|
-|New|Handle: unused, pass in empty string (“”)\\ \\ Param1: the type of variable to create.  Valid types include “OBJECT” (for a generic object), “NUMBER”, “STRING”, “BOOLEAN”, “DATE”, “REGEXP”, and “ARRAY”\\ \\ Param2: the initial value of the created variable\\ \\ Return value: the evaluated variable object| 
  
  
  • guides/programming/programmers_reference_manual/rti_json_function_oi9.txt
  • Last modified: 2025/04/07 14:57
  • by bshumsky