15 #ifndef P6JSONCONTENTHANDLER_H__
16 #define P6JSONCONTENTHANDLER_H__ 1
192 #define IF_p6IJSONContentHandler {0x97382b44,0x238,0x43de,{0x93,0xf,0x58,0x23,0x57,0x5a,0x7d,0x8e}}
This interface is implemented by an application to handle the parsing events that are generated by th...
The 'jstring' field is set for: { P6JSON_TYPE_STR, P6JSON_TYPE_STRPART, P6JSON_TYPE_STREND, P6JSON_TYPE_INTEGER, P6JSON_TYPE_REAL } jstring is set for numbers to allow an application to convert the string to another numeric variable type (e.g., P6UINT64 value).
An instance of this component is passed to the application in 2 ways: a) Via the setDocumentLocator()...
virtual P6R::P6ERR value(P6JSONVALUE *pValue)=0
Both JSON objects and arrays contain values which can be strings, boolean values, numeric values...
virtual P6R::P6ERR endArray(P6UINT32 nestingLevel)=0
Provides an application the notification when the most recent array (as defined by a callback of the ...
The base interface all [p6]COM components must derive from and implement.
This is the interface structure used to point to tokens inside the JSON document being parsed...
virtual P6R::P6ERR endObject(P6UINT32 nestingLevel)=0
Provides an application the notification when the most recent object (as defined by a callback of the...
virtual P6R::P6ERR startObject(P6UINT32 nestingLevel)=0
Provides an application the notification when a new JSON object has been detected.
virtual P6R::P6ERR startArray(P6UINT32 nestingLevel)=0
Provides an application the notification when a new JSON array has been detected. ...
virtual P6R::P6ERR startDocument()=0
Provides an application the notification when the start of the JSON input document has been reached b...
virtual P6R::P6ERR endDocument()=0
Provides an application the notification when the end of the JSON input document has been reached by ...
virtual P6R::P6ERR setDocumentLocator(p6IJSONLocator *pObject)=0
This method is called just before the startDocument() method and the application is given a p6IJSONLo...
To avoid having to copy strings or creating new strings we simply point into a set of buffers the sta...
virtual P6R::P6ERR startPair(P6JSONSTRING *pName)=0
A JSON object consists of an unordered set of name/value pairs.
This is a JSON parsing utility interface which is implemented by P6R's parser.