Json writer interface.
Public Member Functions | |
| virtual void | Reset ()=0 |
| Reset the writer's content. More... | |
| virtual tBool | ArrayBegin ()=0 |
| Begin an array. More... | |
| virtual tBool | ArrayEnd ()=0 |
| Ends an array. More... | |
| virtual tBool | ObjectBegin ()=0 |
| Begin an object. More... | |
| virtual tBool | ObjectEnd ()=0 |
| Ends an object. More... | |
| virtual tBool | Name (const achar *aName)=0 |
| Append a key name. More... | |
| virtual tBool | ValueString (const achar *aStr)=0 |
| Append a string in the current array/object. More... | |
| virtual tBool | ValueNumber (const achar *aStr)=0 |
| Append an integer in the current array/object. More... | |
| virtual tBool | ValueBool (tBool abItem)=0 |
| Append a boolean in the current array/object. More... | |
| virtual tBool | ValueNull ()=0 |
| Append a null value in the current array/object. More... | |
| virtual tBool | ObjectString (const achar *aName, const achar *aStr)=0 |
| Write a string property in the current object. More... | |
| virtual tBool | ObjectNumber (const achar *aName, const achar *aStr)=0 |
| Write a number property in the current object. More... | |
| virtual tBool | ObjectBool (const achar *aName, tBool abValue)=0 |
| Write a boolean property in the current object. More... | |
| virtual tBool | ObjectNull (const achar *aName)=0 |
| Write a null property in the current object. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Reset the writer's content.
|
pure virtual |
Begin an array.
|
pure virtual |
Ends an array.
|
pure virtual |
Begin an object.
|
pure virtual |
Ends an object.
Append a string in the current array/object.
Append an integer in the current array/object.
|
pure virtual |
Append a null value in the current array/object.
Write a string property in the current object.
Write a number property in the current object.
Write a boolean property in the current object.
1.8.7