Name | Type | Description |
---|---|---|
AddMember | Procedure | Appends an initialized JSON object to an array |
AddMemberValue | Procedure | Appends a simple value to an array |
DataTypeToJson | Procedure | Converts a native DataFlex variable (usually a struct / array) into a JSON object structure representing that data |
HasMember | Function | Checks if a member exists based on the passed member name (or array index) |
InitializeJsonType | Procedure | Initializes the JSON object as a specific type |
IsMemberOfJsonType | Function | Checks JSON type of a specific member of an array or object against the passed type |
IsOfJsonType | Function | Determines if the object is of a specific type |
JsonToDataType | Function | Converts a JSON object structure into a native DataFlex variable (usually a struct / array) |
JsonType | Function | Returns the type of the object as an integer constant |
Member | Function | Gets a member of the JSON object by its name or array index |
MemberByIndex | Function | Get a member object its index. Can be used for enumerating object properties and to access array items. |
MemberCount | Function | Returns the number of members of an array or an object |
MemberJsonType | Function | Determines the JSON type of a specific member of an array or object |
MemberNameByIndex | Function | Gets the name of an object member by its index. Used for enumerating members of a JSON object. |
MemberValue | Function | Returns the value of a member of the JSON object |
ParseString | Function | Parses a string of JSON into a JSON object structure |
ParseUtf8 | Function | Parses a string of UTF-8 encoded data containing JSON into a JSON object structure |
RemoveMember | Procedure | Removes a member from a JSON object or array |
ReportParseError | Procedure | If ParseString or ParseUtf8 failed, calling this procedure will trigger an error with the proper description. |
SetMember | Procedure | Sets the member of an object or array to an initialized JSON object |
SetMemberValue | Procedure | Sets the member of an object directly to a simple value |
Stringify | Function | Generates the JSON string for the object structure being represented by the JSON objects |
StringifyUtf8 | Function | Generates the JSON string for the object structure being represented by the JSON objects |
Inherited Methods from cObject | ||
ChildByIndex | Function | Can be used to iterate the direct children of an object |
ClassSuperClass | Function | Returns the superclass of the passed class |
Create | Function | Creates an object based on the passed Class Id |
CreateNamed | Function | Creates an object based on the passed Class Id and assigns it a name Name based on a passed name |
Destroy | Procedure | Destroys the object that receives the message and any child objects of that object |
Exit_Application | Procedure | Starts the process of closing an application |
IsClassOfClass | Function | Determines whether the target class is part of the searched class's hierarchy |
IsObjectOfClass | Function | Determines whether the passed class is part of the object's class hierarchy |
ObjectClass | Function | Returns the integer class ID assigned to the class this object is based on |
Request_Destroy_Object | Procedure | Use the Destroy method instead [Obsolete] |