Methods for cJsonObject

View method list in alphabetical order

NameTypeDescription
AddMemberProcedureAppends an initialized JSON object to an array
AddMemberValueProcedureAppends a simple value to an array
DataTypeToJsonProcedureConverts a native DataFlex variable (usually a struct / array) into a JSON object structure representing that data
HasMemberFunctionChecks if a member exists based on the passed member name (or array index)
InitializeJsonTypeProcedureInitializes the JSON object as a specific type
IsMemberOfJsonTypeFunctionChecks JSON type of a specific member of an array or object against the passed type
IsOfJsonTypeFunctionDetermines if the object is of a specific type
JsonToDataTypeFunctionConverts a JSON object structure into a native DataFlex variable (usually a struct / array)
JsonTypeFunctionReturns the type of the object as an integer constant
MemberFunctionGets a member of the JSON object by its name or array index
MemberByIndexFunctionGet a member object its index. Can be used for enumerating object properties and to access array items.
MemberCountFunctionReturns the number of members of an array or an object
MemberJsonTypeFunctionDetermines the JSON type of a specific member of an array or object
MemberNameByIndexFunctionGets the name of an object member by its index. Used for enumerating members of a JSON object.
MemberValueFunctionReturns the value of a member of the JSON object
ParseStringFunctionParses a string of JSON into a JSON object structure
ParseUtf8FunctionParses a string of UTF-8 encoded data containing JSON into a JSON object structure
RemoveMemberProcedureRemoves a member from a JSON object or array
ReportParseErrorProcedureIf ParseString or ParseUtf8 failed, calling this procedure will trigger an error with the proper description.
SetMemberProcedureSets the member of an object or array to an initialized JSON object
SetMemberValueProcedureSets the member of an object directly to a simple value
StringifyFunctionGenerates the JSON string for the object structure being represented by the JSON objects
StringifyUtf8FunctionGenerates the JSON string for the object structure being represented by the JSON objects

Inherited Methods from cObject

ClassSuperClassFunctionReturns the superclass of the passed class
CreateFunctionCreates an object based on the passed Class Id
CreateNamedFunctionCreates an object based on the passed Class Id and assigns it a name Name based on a passed name
DestroyProcedureDestroys the object that receives the message and any child objects of that object
Exit_ApplicationProcedureStarts the process of closing an application
IsClassOfClassFunctionDetermines whether the target class is part of the searched class's hierarchy
IsObjectOfClassFunctionDetermines whether the passed class is part of the object's class hierarchy
ObjectClassFunctionReturns the integer class ID assigned to the class this object is based on
Request_Destroy_ObjectProcedureUse the Destroy method instead [Obsolete]