#include <JSON.H>
|
| static std::string | Escape (const std::string &value) |
| |
| static void | Indent (std::ostream &os, int indent) |
| |
| static void | Comma (std::ostream &os, bool &first, int indent) |
| |
| static void | WriteStringField (std::ostream &os, bool &first, int indent, const std::string &name, const std::string &value) |
| |
| static void | WriteBoolField (std::ostream &os, bool &first, int indent, const std::string &name, bool value) |
| |
| static void | WriteIntField (std::ostream &os, bool &first, int indent, const std::string &name, int value) |
| |
| static void | WriteStringArray (std::ostream &os, const std::vector< std::string > &values) |
| |
| static void | WriteStringArrayField (std::ostream &os, bool &first, int indent, const std::string &name, const std::vector< std::string > &values) |
| |
| static void | WriteSourceField (std::ostream &os, bool &first, int indent, const std::source_location &location) |
| |
Definition at line 11 of file JSON.H.
◆ Comma()
| static void IO::JSON::Comma |
( |
std::ostream & |
os, |
|
|
bool & |
first, |
|
|
int |
indent |
|
) |
| |
|
inlinestatic |
◆ Escape()
| static std::string IO::JSON::Escape |
( |
const std::string & |
value | ) |
|
|
inlinestatic |
◆ Indent()
| static void IO::JSON::Indent |
( |
std::ostream & |
os, |
|
|
int |
indent |
|
) |
| |
|
inlinestatic |
◆ WriteBoolField()
| static void IO::JSON::WriteBoolField |
( |
std::ostream & |
os, |
|
|
bool & |
first, |
|
|
int |
indent, |
|
|
const std::string & |
name, |
|
|
bool |
value |
|
) |
| |
|
inlinestatic |
◆ WriteIntField()
| static void IO::JSON::WriteIntField |
( |
std::ostream & |
os, |
|
|
bool & |
first, |
|
|
int |
indent, |
|
|
const std::string & |
name, |
|
|
int |
value |
|
) |
| |
|
inlinestatic |
◆ WriteSourceField()
| static void IO::JSON::WriteSourceField |
( |
std::ostream & |
os, |
|
|
bool & |
first, |
|
|
int |
indent, |
|
|
const std::source_location & |
location |
|
) |
| |
|
inlinestatic |
◆ WriteStringArray()
| static void IO::JSON::WriteStringArray |
( |
std::ostream & |
os, |
|
|
const std::vector< std::string > & |
values |
|
) |
| |
|
inlinestatic |
◆ WriteStringArrayField()
| static void IO::JSON::WriteStringArrayField |
( |
std::ostream & |
os, |
|
|
bool & |
first, |
|
|
int |
indent, |
|
|
const std::string & |
name, |
|
|
const std::vector< std::string > & |
values |
|
) |
| |
|
inlinestatic |
◆ WriteStringField()
| static void IO::JSON::WriteStringField |
( |
std::ostream & |
os, |
|
|
bool & |
first, |
|
|
int |
indent, |
|
|
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: