System Reference Summary : 3. System Classes : JsonHandler Class : JsonHandler Methods
 
Share this page                  
JsonHandler Methods
Method
Return
Value
Description
Inherited From
Duplicate()
Object
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
JsonObject2Object
(jsonobj =
JsonObject
[, existing_obj = object]
[, default_class = class]
[, default_row_class = class])
Object
Converts a JsonObject into an OpenROAD object
Defined
JsonRpcRequest(request = StringObject)
StringObject
Executes a JSON-RPC 2.0 (jsonrpc) request (or batch/array of requests) given as a StringObject. Returns a StringObject containing the response (NULL for a "Notification" request).
Defined
NewJsonValue(value = variable)
JsonValue
Creates a new JsonValue subclass object for a given value (scalar or object)
Defined
Object2JsonValue(object = object)
JsonValue
Converts an OpenROAD object into a JsonValue (JsonObject or JsonNull)
Defined
Parse(json = StringObject)
JsonValue
Parses a StringObject containing JSON and returns a JsonValue subclass object representing the JSON
Defined
ParseFile(filename = varchar(256))
JsonValue
Parses a file containing JSON and returns a JsonValue subclass object representing the JSON
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
SetIndent(indentchar = varchar(1), indentcharcount = smallint)
integer
Sets both the IndentChar and IndentCharCount attributes
Defined
SetSerializableClassAttributes
(class =
Class, attributes = StringObject)
integer
Sets the serializeable attributes for a class
Defined
Write(value = JsonValue,
json = StringObject
[, indented = integer]
[, sortobjectmembers = integer])
integer
Writes the JSON for JsonValue subclass object into a StringObject
Defined
WriteFile(value = JsonValue, filename = varchar(256)
[, indented = integer]
[, sortobjectmembers = integer])
integer
Writes the JSON for JsonValue subclass object into a file
Defined