To parse JSON data strings, use the Incredible JSON Pull Parser (see example 12)
More...
|
| | IJSONPullParser (IXMLReader *uReader, int _szByteBuffer=1024 *1024) |
| |
| | ~IJSONPullParser () |
| |
| void | reset () |
| | re-start the pull parser (set token=IXMLToken_StartDocument) More...
|
| |
| void | clear () |
| |
| IXMLToken | nextToken () |
| | read the data stream a little bit more to get the next token More...
|
| |
| void | setTagNameForArrays (IXMLCStr arrayName) |
| |
| IXMLCStr | getTagNameForArrays () |
| |
| | IPullParser (IXMLReader *_uReader, int _szByteBuffer) |
| |
| virtual | ~IPullParser () |
| |
| char | setBufferSize (int _szByteBuffer) |
| | Change the memory buffer size. More...
|
| |
| IXMLToken | currentToken () const |
| | get the current token More...
|
| |
| bool | findPath (IXMLCStr path, IXMLChar sep='/', IXMLResults *r=NULL) |
| | read the data stream to reach a XML tag with the specified path More...
|
| |
| bool | findPathNonConst (IXMLStr path, IXMLChar sep='/', IXMLResults *r=NULL) |
| | read the data stream to reach a XML tag with the specified path More...
|
| |
| IXMLCStr | getName () const |
| | if the current token==IXMLToken_StartTag, return the tag name More...
|
| |
| bool | isEmptyNode () const |
| | if the current token==IXMLToken_StartTag, tell if the tag is directly closed or not More...
|
| |
| bool | isArrayStart () const |
| | used during JSON parsing to separate arrays([) from object({). More...
|
| |
| int | nAttribute () const |
| | if the current token==IXMLToken_StartTag, return number of attributes More...
|
| |
| IXMLAttribute * | getAttribute (int i=0) const |
| | if the current token==IXMLToken_StartTag, return ith attribute More...
|
| |
| IXMLCStr | getAttributeName (int i=0) const |
| | if the current token==IXMLToken_StartTag, return ith attribute name More...
|
| |
| IXMLCStr | getAttributeValue (int i=0) const |
| | if the current token==IXMLToken_StartTag, return ith attribute value More...
|
| |
| int | szAttributeValue (int i=0) const |
| | if the current token==IXMLToken_StartTag, return ith attribute size More...
|
| |
| IXMLCStr | getText () const |
| | if the current token==IXMLToken_Text, return the text More...
|
| |
| int | szText () const |
| | if the current token==IXMLToken_Text, return the text size in char More...
|
| |
| bool | isTextWhiteSpace () const |
| | if the current token==IXMLToken_Text, return true if the text is ignorable (i.e.composed of white space only) More...
|
| |
| const IXMLClear * | getClear () const |
| | if the current token==IXMLToken_Clear, return the clear tag More...
|
| |
| IXMLError | getErrorCode () const |
| | if the current token==IXMLToken_Error, return the error code More...
|
| |
| long long | getLineNumber () const |
| | return the current line number More...
|
| |
| virtual int | getColumnNumber () const |
| | return the current column number expressed in byte or wchar More...
|
| |
| int | getDepth () const |
| | return the current depth More...
|
| |
| void | setAutoDetectSourceEncoding (bool autoDetectSource=false) |
| |
| bool | getAutoDetectSourceEncoding () |
| |
| virtual char | setCharEncoding (IXMLCharEncoding sourceEncoding=char_encoding_UTF8, IXMLCharEncoding destinationEncoding=char_encoding_UTF8) |
| |
| virtual IXMLCharEncoding | getCharEncodingDestination () |
| |
| IXMLCStr | getVersion () |
| | Return the IXMLParser library version number. More...
|
| |
To parse JSON data strings, use the Incredible JSON Pull Parser (see example 12)
Definition at line 689 of file IXMLParser.h.