![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
StructuredJsonParsingContext (const Json::Value &val) | |
virtual void | exception (const std::string &message) |
virtual int | expectInt () |
virtual float | expectFloat () |
virtual double | expectDouble () |
virtual bool | expectBool () |
virtual void | expectNull () |
virtual bool | matchUnsignedLongLong (unsigned long long &val) |
virtual bool | matchLongLong (long long &val) |
virtual std::string | expectStringAscii () |
virtual Utf8String | expectStringUtf8 () |
virtual Json::Value | expectJson () |
virtual bool | isObject () const |
virtual bool | isString () const |
virtual bool | isArray () const |
virtual bool | isBool () const |
virtual bool | isNumber () const |
virtual bool | isNull () const |
virtual void | skip () |
virtual void | forEachMember (const std::function< void()> &fn) |
virtual void | forEachElement (const std::function< void()> &fn) |
Public Attributes | |
const Json::Value * | current |
Definition at line 404 of file json_parsing.h.
virtual void Datacratic::StructuredJsonParsingContext::exception | ( | const std::string & | message | ) | [inline, virtual] |
Handler for when we get an undexpected field.
Implements Datacratic::JsonParsingContext.
Definition at line 413 of file json_parsing.h.