|
Electroneum
|
#include <json_archive.h>


Public Member Functions | |
| json_archive (stream_type &s, bool indent=false) | |
| template<class T > | |
| void | serialize_int (T v) |
| void | serialize_blob (void *buf, size_t len, const char *delimiter="\) |
| void | serialize_string (std::string str, const char *delimiter="\) |
| template<class T > | |
| void | serialize_varint (T &v) |
| void | begin_string (const char *delimiter="\) |
| void | end_string (const char *delimiter="\) |
| void | begin_array (size_t s=0) |
| void | delimit_array () |
| void | end_array () |
| void | write_variant_tag (const char *t) |
Public Member Functions inherited from json_archive_base< std::ostream, true > | |
| json_archive_base (stream_type &s, bool indent=false) | |
| void | tag (const char *tag) |
| void | begin_object () |
| void | end_object () |
| void | begin_variant () |
| void | end_variant () |
| std::ostream & | stream () |
Static Public Member Functions | |
| template<typename T > | |
| static auto | promote_to_printable_integer_type (T v) -> decltype(+v) |
Additional Inherited Members | |
Public Types inherited from json_archive_base< std::ostream, true > | |
| typedef std::ostream | stream_type |
| typedef json_archive_base< std::ostream, IsSaving > | base_type |
| typedef boost::mpl::bool_< IsSaving > | is_saving |
| typedef const char * | variant_tag_type |
Protected Member Functions inherited from json_archive_base< std::ostream, true > | |
| void | make_indent () |
Protected Attributes inherited from json_archive_base< std::ostream, true > | |
| stream_type & | stream_ |
| bool | indent_ |
| bool | object_begin |
| size_t | depth_ |
Definition at line 115 of file json_archive.h.
|
inline |
Definition at line 117 of file json_archive.h.
|
inline |
Definition at line 164 of file json_archive.h.
|
inline |
Definition at line 154 of file json_archive.h.
|
inline |
Definition at line 171 of file json_archive.h.
|
inline |
|
inline |
Definition at line 159 of file json_archive.h.
|
inlinestatic |
Definition at line 120 of file json_archive.h.
|
inline |
Definition at line 133 of file json_archive.h.
|
inline |
Definition at line 128 of file json_archive.h.
|
inline |
Definition at line 142 of file json_archive.h.
|
inline |
Definition at line 149 of file json_archive.h.
|
inline |
Definition at line 186 of file json_archive.h.