|
rapidyaml 0.15.2
parse and emit YAML, and do it fast
|
Functions | |
| substr | c4::yml::emit_yaml (ConstNodeRef const &r, EmitOptions const &opts, substr buf, bool error_on_excess=true) |
| (1) emit YAML to the given buffer. | |
| substr | c4::yml::emit_yaml (ConstNodeRef const &r, substr buf, bool error_on_excess=true) |
| (2) like (1), but use default emit options | |
| substr | c4::yml::emit_json (ConstNodeRef const &r, EmitOptions const &opts, substr buf, bool error_on_excess=true) |
| (1) emit JSON to the given buffer. | |
| substr | c4::yml::emit_json (ConstNodeRef const &r, substr buf, bool error_on_excess=true) |
| (2) like (1), but use default emit options | |
| substr c4::yml::emit_yaml | ( | ConstNodeRef const & | r, |
| EmitOptions const & | opts, | ||
| substr | buf, | ||
| bool | error_on_excess = true ) |
(1) emit YAML to the given buffer.
Return a substr trimmed to the emitted YAML.
| r | the starting node. |
| buf | the output buffer. |
| opts | emit options. |
| error_on_excess | Raise an error if the space in the buffer is insufficient. |
Definition at line 90 of file emit_buf.cpp.
| substr c4::yml::emit_yaml | ( | ConstNodeRef const & | r, |
| substr | buf, | ||
| bool | error_on_excess ) |
(2) like (1), but use default emit options
Definition at line 97 of file emit_buf.cpp.
| substr c4::yml::emit_json | ( | ConstNodeRef const & | r, |
| EmitOptions const & | opts, | ||
| substr | buf, | ||
| bool | error_on_excess = true ) |
(1) emit JSON to the given buffer.
Return a substr trimmed to the emitted JSON.
| r | the starting node. |
| buf | the output buffer. |
| opts | emit options. |
| error_on_excess | Raise an error if the space in the buffer is insufficient. |
Definition at line 104 of file emit_buf.cpp.
| substr c4::yml::emit_json | ( | ConstNodeRef const & | r, |
| substr | buf, | ||
| bool | error_on_excess ) |
(2) like (1), but use default emit options
Definition at line 111 of file emit_buf.cpp.