Skip to content

cJsonObject methods

Include: Use System\Json.pkg

Method Type Description
InitializeJsonType Procedure Initializes this object as the specified JSON type.
AddMember Procedure Adds a JSON object as an array member.
AddMemberValue Procedure Adds a typed scalar value as an array member.
SetMember Procedure Sets an object member to another JSON object.
SetMemberValue Procedure Sets an object member to a typed scalar value.
HasMember Function Returns whether the object has a named member.
Member Function Returns the JSON object handle for a named member.
MemberValue Function Returns the scalar value for a named member.
MemberJsonType Function Returns the JSON type constant for a named member.
IsMemberOfJsonType Function Returns whether a named member has the specified JSON type.
MemberByIndex Function Returns the JSON object handle for a member by index.
MemberNameByIndex Function Returns the member name for a member by index.
RemoveMember Procedure Removes a named member.
MemberCount Function Returns the number of members.
IsOfJsonType Function Returns whether this object has the specified JSON type.
JsonType Function Returns this object's JSON type constant.
ParseString Function Parses JSON text into this object.
ParseUtf8 Function Parses UTF-8 JSON bytes into this object.
JsonToDataType Function Converts this JSON value to a DataFlex datatype struct.
DataTypeToJson Procedure Converts a DataFlex datatype struct into this JSON object.
Stringify Function Returns this JSON value as text.
StringifyUtf8 Function Returns this JSON value as UTF-8 bytes.
ReportParseError Procedure Reports the current parse error.

See also