namespace for Niels Lohmann
More...
|
| detail |
| detail namespace with internal helper functions
|
|
|
json | read_json (const std::string &filename) |
|
json | read_json (std::istream &is) |
|
void | write_json (const std::string &filename, const json &j, const int indent=-1, const char indent_char=' ') |
|
void | write_json (std::ostream &os, const json &j, const int indent=-1, const char indent_char=' ') |
|
namespace for Niels Lohmann
namespace to hold default to_json
function
- See also
- https://github.com/nlohmann
- Since
- version 1.0.0
◆ json
default JSON class
This type is the default specialization of the basic_json class which uses the standard template types.
- Since
- version 1.0.0
◆ read_json() [1/2]
◆ read_json() [2/2]
◆ write_json() [1/2]
void nlohmann::write_json |
( |
const std::string & |
filename, |
|
|
const json & |
j, |
|
|
const int |
indent = -1 , |
|
|
const char |
indent_char = ' ' |
|
) |
| |
◆ write_json() [2/2]
void nlohmann::write_json |
( |
std::ostream & |
os, |
|
|
const json & |
j, |
|
|
const int |
indent = -1 , |
|
|
const char |
indent_char = ' ' |
|
) |
| |