Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::web::JsonValueContext Class Reference

Detailed Description

The context for a default value.

Default values can be any JSON type. This context simply passes the events through to a JsonParser in order to construct the JsonValue.

Inheritance diagram for ola::web::JsonValueContext:
Inheritance graph
Collaboration diagram for ola::web::JsonValueContext:
Collaboration graph

Public Member Functions

const JsonValueClaimValue (SchemaErrorLogger *logger)
void String (SchemaErrorLogger *logger, const std::string &value)
void Number (SchemaErrorLogger *logger, uint32_t value)
void Number (SchemaErrorLogger *logger, int32_t value)
void Number (SchemaErrorLogger *logger, uint64_t value)
void Number (SchemaErrorLogger *logger, int64_t value)
void Number (SchemaErrorLogger *logger, double value)
void Bool (SchemaErrorLogger *logger, bool value)
void Null (SchemaErrorLogger *logger)
SchemaParseContextInterfaceOpenArray (SchemaErrorLogger *logger)
void CloseArray (SchemaErrorLogger *logger)
SchemaParseContextInterfaceOpenObject (SchemaErrorLogger *logger)
void ObjectKey (SchemaErrorLogger *logger, const std::string &key)
void CloseObject (SchemaErrorLogger *logger)

The documentation for this class was generated from the following files: