millijson
Lightweight JSON parser for C++
|
Default methods to provision representations of JSON types. More...
#include <millijson.hpp>
Public Types | |
typedef ::millijson::Base | Base |
Static Public Member Functions | |
static Boolean * | new_boolean (bool x) |
static Number * | new_number (double x) |
static NumberAsString * | new_number_as_string (std::string x) |
static String * | new_string (std::string x) |
static Nothing * | new_nothing () |
static Array * | new_array (std::vector< std::shared_ptr< Base > > x) |
static Object * | new_object (std::unordered_map< std::string, std::shared_ptr< Base > > x) |
Default methods to provision representations of JSON types.
Alias for the base class for all JSON representations. All classes returned by new_*
methods should be derived from this class.
|
inlinestatic |
x | Contents of the JSON array. |
|
inlinestatic |
x | Value of the boolean. |
|
inlinestatic |
|
inlinestatic |
x | Value of the number. |
|
inlinestatic |
x | Value of the number as a string. |
|
inlinestatic |
x | Contents of the JSON object. |
|
inlinestatic |
x | Value of the string. |