System Reference Summary : 3. System Classes : JsonObject Class : JsonObject Methods
 
Share this page                  
JsonObject Methods
Method
Return
Value
Description
Inherited From
AddMember(name = varchar(256), value = JsonValue)
integer
Adds a member (name/value pair) to the JsonObject
Defined
Duplicate()
Object
Makes a duplicate of the object, placing a reference to the new object in a reference variable
JsonValue
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
JsonValue
GetMember(name = varchar(256))
JsonValue
Returns the value for the member with a given name
Defined
GetMemberNames()
array of StringObject
Returns an array containing all member names (StringObject)
Defined
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
JsonValue
NewMember(name = varchar(256), value = variable)
JsonValue
Creates a JsonValue for the given value and adds a member to the JsonObject. The type of JsonValue created depends on the value provided. Returns the new JsonValue created.
Defined
RemoveMember(name = varchar(256))
integer
Removes a member from the JsonObject
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
JsonValue