|
pulsatrix 1.1.0
|
A small strict JSON value, parser and deterministic writer (RFC 8259). More...
#include <cstdint>#include <string>#include <string_view>#include <utility>#include <vector>

Go to the source code of this file.
Classes | |
| class | pulsatrix::JsonValue |
| One JSON value: null, a boolean, a number, a string, an array or an object. More... | |
Namespaces | |
| namespace | pulsatrix |
Functions | |
| JsonValue | pulsatrix::ParseJson (std::string_view text) |
| Parses one JSON document. | |
| std::string | pulsatrix::WriteJson (const JsonValue &value) |
Writes value as JSON, indented by two spaces and ending with a newline. | |
| std::string | pulsatrix::WriteJsonCompact (const JsonValue &value) |
Writes value as JSON on one line, with no whitespace and no trailing newline. | |
A small strict JSON value, parser and deterministic writer (RFC 8259).