The cszJSONObject class contains the following methods

 

Procedure AddBoolean String propName Boolean propVal

 

Procedure AddDateTime String propName DateTime propVal

 

Procedure AddInteger String propName Integer propVal

 

Procedure AddNull String propName 

 

Procedure AddObject String propName Integer hoJSONObj

 

Procedure AddString String propName String propVal

 

Function ChildCount Returns Integer

 

Function ChildTokenByIndex Integer iIndex Returns Integer

 

Function ChildTokenByName String sFieldName Returns Integer

 

Function ChildValueByIndex Integer iIndex Returns String Function

 

Function ChildValueByName String sFieldName Returns String

 

Function DeepClone Returns Integer

 

Function GetAtPath String sPath Returns Integer

 

Function GetValueAtPath String sPath Returns Integer

 

Function HasValues Returns Integer

 

Function PropertyName Returns String

 

Procedure RemoveAllChildren

 

Procedure RemoveChild String propName

 

Function SelectTokens String sPath Returns Integer[]

 

Function Serialize Returns String

 

Function TokenPath Returns String

 

Function TokenType Returns Integer

 

Function TokenTypeAsString Returns String

 

Function TokenValue Returns String