#include "jsonipc.hh"
Public Member Functions | |
Serializable () | |
template<typename A , REQUIRES< std::is_member_object_pointer< A >::value > = true> | |
Serializable & | set (const char *name, A attribute) |
Static Public Member Functions | |
static bool | is_serializable () |
static std::shared_ptr< T > | serialize_from_json (const JsonValue &value, const std::shared_ptr< T > &p=0) |
static JsonValue | serialize_to_json (const T &o, JsonAllocator &a) |
Additional Inherited Members | |
![]() | |
TypeInfo () | |
virtual | ~TypeInfo () |
Jsonipc wrapper type for objects that support field-wise serialization to/from JSON.
Serializable | ( | ) |
Allow object handles to be streamed to/from Javascript, needs a Scope for temporaries.
Serializable & set | ( | const char * | name, |
A | attribute | ||
) |
Add a member object pointer.
|
static |
|
static |
|
static |