Struct Ase::ConvertValue
ClassList > Ase > ConvertValue
Convert between Value and Jsonipc::JsonValue.
#include <jsonapi.hh>
Inherited by the following classes: Jsonipc::Convert< Ase::Value >
Public Static Functions
Type | Name |
---|---|
Value | from_json (const Jsonipc::JsonValue & v) |
Jsonipc::JsonValue | record_to_json_object (const ValueR & rec, Jsonipc::JsonAllocator & allocator) |
void | sequence_from_json_array (Value & val, const Jsonipc::JsonValue & v) |
Jsonipc::JsonValue | sequence_to_json_array (const ValueS & seq, Jsonipc::JsonAllocator & allocator) |
Jsonipc::JsonValue | to_json (const Value & val, Jsonipc::JsonAllocator & allocator) |
void | value_from_json_object (Value & val, const Jsonipc::JsonValue & v) |
Public Static Functions Documentation
function from_json
static inline Value Ase::ConvertValue::from_json (
const Jsonipc::JsonValue & v
)
function record_to_json_object
static inline Jsonipc::JsonValue Ase::ConvertValue::record_to_json_object (
const ValueR & rec,
Jsonipc::JsonAllocator & allocator
)
function sequence_from_json_array
static inline void Ase::ConvertValue::sequence_from_json_array (
Value & val,
const Jsonipc::JsonValue & v
)
function sequence_to_json_array
static inline Jsonipc::JsonValue Ase::ConvertValue::sequence_to_json_array (
const ValueS & seq,
Jsonipc::JsonAllocator & allocator
)
function to_json
static inline Jsonipc::JsonValue Ase::ConvertValue::to_json (
const Value & val,
Jsonipc::JsonAllocator & allocator
)
function value_from_json_object
static inline void Ase::ConvertValue::value_from_json_object (
Value & val,
const Jsonipc::JsonValue & v
)
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/jsonapi.hh