Open Lighting Architecture  Latest Git
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
[legend]
Collaboration diagram for ola::web::JsonValueContext:
Collaboration graph
[legend]

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: