oos::json_null Class Reference
Class representing the json null type. More...
#include <json_null.hpp>
Inherits oos::json_type.
Public Member Functions | |
virtual bool | parse (std::istream &in) |
virtual void | print (std::ostream &out) const |
Public Member Functions inherited from oos::json_type | |
virtual json_value & | operator[] (const std::string &key) |
virtual json_value & | operator[] (size_t index) |
virtual const json_value & | operator[] (size_t index) const |
virtual void | push_back (const json_value &x) |
virtual size_t | size () const |
std::string | type () const |
Additional Inherited Members | |
Protected Member Functions inherited from oos::json_type | |
json_type (const std::string &name) | |
void | type (const std::string &type) |
Static Protected Attributes inherited from oos::json_type | |
static json_parser | parser |
Detailed Description
Class representing the json null type.
This class represents the json null type.
Member Function Documentation
|
virtual |
Parses in json input stream
- Parameters
-
in The json input stream
- Returns
- True if stream was parsed correctly
Implements oos::json_type.
|
virtual |
Prints the json type (tree) to a output stream.
- Parameters
-
out The stream to write on.
Implements oos::json_type.
The documentation for this class was generated from the following file:
- json/json_null.hpp