Rudiments
|
Inherits sax.
Inherited by jsondom.
Public Member Functions | |
jsonsax () | |
virtual | ~jsonsax () |
Public Member Functions inherited from sax | |
sax () | |
virtual | ~sax () |
void | setIgnoreHeaderLines (uint64_t lines) |
uint64_t | getIgnoreHeaderLines () |
void | setIgnoreFooterLines (uint64_t lines) |
uint64_t | getIgnoreFooterLines () |
virtual bool | parse (input *in) |
virtual bool | parseFile (const char *filename) |
virtual bool | parseString (const char *string) |
const char * | getError () |
Public Member Functions inherited from object | |
virtual | ~object () |
Protected Member Functions | |
virtual bool | objectStart () |
virtual bool | memberStart () |
virtual bool | memberName (const char *name) |
virtual bool | valueStart () |
virtual bool | stringValue (const char *value) |
virtual bool | numberValue (const char *value) |
virtual bool | trueValue () |
virtual bool | falseValue () |
virtual bool | nullValue () |
virtual bool | arrayStart () |
virtual bool | arrayEnd () |
virtual bool | valueEnd () |
virtual bool | memberEnd () |
virtual bool | objectEnd () |
The jsonsax class is a base class for an SAX-style parser for JSON data. To use this class, you should create a class that inherits from it and implements its protected virtual methods.
jsonsax::jsonsax | ( | ) |
Creates an instance of the jsonsax class.
|
virtual |
Deletes this instance of the jsonsax class.
|
protectedvirtual |
Gets called when an array end is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when an array start is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when a false value is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when a member end is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when a member name is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when a member start is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when a null value is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when a number value is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when an object end is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when an object start is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when a string value is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when a true value is parsed.
Reimplemented in jsondom.
|
protectedvirtual |
Gets called when an value end is parsed.
Reimplemented in jsondom.