|
MLIB
|
Definition of mlib::json::node class. More...
#include <functional>#include <map>#include <memory>#include <mlib/errorcode.h>#include <iomanip>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | mlib::json::node |
| Representation of a JSON node. More... | |
| class | mlib::json::node::iterator_type< C_ > |
| node iterator More... | |
Enumerations | |
| enum class | mlib::json::type { null , object , array , numeric , string , boolean } |
| JSON node types. | |
Functions | |
| mlib::errfac & | mlib::json::Errors () |
| Return error facility used for JSON errors. | |
| void | mlib::json::Errors (mlib::errfac &facility) |
| Set error facility for JSON errors. | |
| std::ostream & | mlib::json::operator<< (std::ostream &os, const node &n) |
| Insertion operator serializes a JSON node to an output stream. | |
| std::istream & | mlib::json::operator>> (std::istream &is, node &n) |
| Extraction operator retrieves a JSON node from an input stream. | |
| template<typename T> | |
| void | mlib::json::to_json (node &n, const std::vector< T > &vec) |
| Assign array value to a node. | |
Definition of mlib::json::node class.
| std::ostream & mlib::json::operator<< | ( | std::ostream & | os, |
| const node & | n ) |
Insertion operator serializes a JSON node to an output stream.
Write a JSON object to a stream.
| std::istream & mlib::json::operator>> | ( | std::istream & | is, |
| node & | n ) |
Extraction operator retrieves a JSON node from an input stream.
Read a JSON node from a stream.