JSONRTTR
Functions
Name | |
---|---|
variant | extract_basic_types(const Value & json_value) |
variant | extract_value(Value::ConstMemberIterator & itr, const type & t) |
void | fromjson_recursively(instance obj, const Value & json_object) |
void | to_json_recursively(const instance & obj, PrettyWriter< StringBuffer > & writer) |
void | write_array(const variant_sequential_view & view, PrettyWriter< StringBuffer > & writer) |
void | write_array_recursively(variant_sequential_view & view, const Value & json_array_value) |
void | write_associative_container(const variant_associative_view & view, PrettyWriter< StringBuffer > & writer) |
void | write_associative_view_recursively(variant_associative_view & view, const Value & json_array_value) |
bool | write_atomic_types_to_json(const type & t, const variant & var, PrettyWriter< StringBuffer > & writer) |
bool | write_variant(const variant & var, PrettyWriter< StringBuffer > & writer) |
Functions Documentation
function extract_basic_types
cpp
variant extract_basic_types(
const Value & json_value
)
variant extract_basic_types(
const Value & json_value
)
function extract_value
cpp
variant extract_value(
Value::ConstMemberIterator & itr,
const type & t
)
variant extract_value(
Value::ConstMemberIterator & itr,
const type & t
)
function fromjson_recursively
cpp
void fromjson_recursively(
instance obj,
const Value & json_object
)
void fromjson_recursively(
instance obj,
const Value & json_object
)
function to_json_recursively
cpp
void to_json_recursively(
const instance & obj,
PrettyWriter< StringBuffer > & writer
)
void to_json_recursively(
const instance & obj,
PrettyWriter< StringBuffer > & writer
)
function write_array
cpp
static void write_array(
const variant_sequential_view & view,
PrettyWriter< StringBuffer > & writer
)
static void write_array(
const variant_sequential_view & view,
PrettyWriter< StringBuffer > & writer
)
function write_array_recursively
cpp
static void write_array_recursively(
variant_sequential_view & view,
const Value & json_array_value
)
static void write_array_recursively(
variant_sequential_view & view,
const Value & json_array_value
)
function write_associative_container
cpp
static void write_associative_container(
const variant_associative_view & view,
PrettyWriter< StringBuffer > & writer
)
static void write_associative_container(
const variant_associative_view & view,
PrettyWriter< StringBuffer > & writer
)
function write_associative_view_recursively
cpp
static void write_associative_view_recursively(
variant_associative_view & view,
const Value & json_array_value
)
static void write_associative_view_recursively(
variant_associative_view & view,
const Value & json_array_value
)
function write_atomic_types_to_json
cpp
bool write_atomic_types_to_json(
const type & t,
const variant & var,
PrettyWriter< StringBuffer > & writer
)
bool write_atomic_types_to_json(
const type & t,
const variant & var,
PrettyWriter< StringBuffer > & writer
)
function write_variant
cpp
bool write_variant(
const variant & var,
PrettyWriter< StringBuffer > & writer
)
bool write_variant(
const variant & var,
PrettyWriter< StringBuffer > & writer
)
Updated on 2025-01-07 at 13:40:44 +0000