millijson
Lightweight JSON parser for C++
|
JSON array. More...
#include <millijson.hpp>
Public Member Functions | |
Type | type () const |
void | add (std::shared_ptr< Base > value) |
Public Member Functions inherited from millijson::Base | |
double | get_number () const |
const std::string & | get_string () const |
bool | get_boolean () const |
const std::unordered_map< std::string, std::shared_ptr< Base > > & | get_object () const |
const std::vector< std::shared_ptr< Base > > & | get_array () const |
Public Attributes | |
std::vector< std::shared_ptr< Base > > | values |
JSON array.
|
inline |
value | Value to append to the array. |
|
inlinevirtual |
Implements millijson::Base.
std::vector<std::shared_ptr<Base> > millijson::Array::values |
Contents of the array.