#include <json_archive.h>
Definition at line 115 of file json_archive.h.
◆ json_archive()
Definition at line 117 of file json_archive.h.
json_archive_base< std::ostream, IsSaving > base_type
a archive using the JSON standard
◆ begin_array()
◆ begin_string()
◆ delimit_array()
◆ end_array()
Definition at line 176 of file json_archive.h.
177 {
179 if (0 < inner_array_size_)
180 {
182 }
184 }
◆ end_string()
◆ promote_to_printable_integer_type()
◆ serialize_blob()
| void json_archive< true >::serialize_blob |
( |
void * | buf, |
|
|
size_t | len, |
|
|
const char * | delimiter = "\"" ) |
|
inline |
Definition at line 133 of file json_archive.h.
133 {
135 for (
size_t i = 0;
i <
len;
i++) {
136 unsigned char c = ((
unsigned char *)
buf)[
i];
138 }
140 }
void begin_string(const char *delimiter="\"")
void end_string(const char *delimiter="\"")
◆ serialize_int()
Definition at line 128 of file json_archive.h.
129 {
131 }
static auto promote_to_printable_integer_type(T v) -> decltype(+v)
◆ serialize_string()
| void json_archive< true >::serialize_string |
( |
std::string | str, |
|
|
const char * | delimiter = "\"" ) |
|
inline |
◆ serialize_varint()
◆ write_variant_tag()
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/serialization/json_archive.h