#include <json_archive.h>
Definition at line 115 of file json_archive.h.
◆ json_archive()
Definition at line 117 of file json_archive.h.
117 :
base_type(s, indent), inner_array_size_(0) { }
json_archive_base< std::ostream, IsSaving > base_type
◆ begin_array()
◆ begin_string()
◆ delimit_array()
◆ end_array()
◆ end_string()
◆ promote_to_printable_integer_type()
template<typename T >
| static auto json_archive< true >::promote_to_printable_integer_type |
( |
T |
v | ) |
-> decltype(+v)
|
|
inlinestatic |
◆ 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.
135 for (
size_t i = 0; i < len; i++) {
136 unsigned char c = ((
unsigned char *)
buf)[i];
137 stream_ << std::hex << std::setw(2) << std::setfill(
'0') << (int)c;
void begin_string(const char *delimiter="\"")
void end_string(const char *delimiter="\"")
◆ serialize_int()
Definition at line 128 of file json_archive.h.
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-4.0.0.0/src/serialization/json_archive.h