MLIB
|
Implementation of json::node class. More...
#include <mlib/mlib.h>
#include <istream>
#include <ostream>
#include <sstream>
#include <cstring>
#include <utf8/utf8.h>
Functions | |
mlib::errfac & | json::Errors () |
Return error facility used for JSON errors. | |
void | json::Errors (mlib::errfac &facility) |
Set error facility for JSON errors. | |
void | json::indenter (std::ios_base &os, int spaces) |
std::ostream & | json::noindent (std::ostream &os) |
std::ostream & | json::operator<< (std::ostream &os, const node &n) |
Write a JSON object to a stream. | |
std::istream & | json::operator>> (std::istream &is, node &n) |
Read a JSON node from a stream. | |
Variables | |
mlib::errfac | json::default_json_errors ("JSON Error") |
mlib::errfac * | json::json_errors = &default_json_errors |
node | json::null_node |
int | json::ostream_flags = ios_base::xalloc () |
Implementation of json::node class.
(c) Mircea Neacsu 2022. All rights reserved.