JSON Voorhees
Killer JSON for C++
jsonv::detail::adapter_builder_dsl< T > Class Template Reference
+ Inheritance diagram for jsonv::detail::adapter_builder_dsl< T >:

Public Member Functions

 adapter_builder_dsl (adapter_builder< T > *owner)
 
adapter_builder< T > & type_default_on_null (bool on=true)
 
adapter_builder< T > & type_default_value (std::function< T(const extraction_context &ctx)> create)
 
adapter_builder< T > & type_default_value (const T &value)
 
template<typename TMember >
member_adapter_builder< T, TMember > member (std::string name, TMember T::*selector)
 
template<typename TMember >
member_adapter_builder< T, TMember > member (std::string name, std::function< const TMember &(const T &)> access, std::function< void(T &, TMember &&)> mutate)
 
template<typename TMember >
member_adapter_builder< T, TMember > member (std::string name, const TMember &(T::*access)() const, TMember &(T::*mutable_access)())
 
template<typename TMember >
member_adapter_builder< T, TMember > member (std::string name, const TMember &(T::*access)() const, void(T::*mutate)(TMember))
 
template<typename TMember >
member_adapter_builder< T, TMember > member (std::string name, const TMember &(T::*access)() const, void(T::*mutate)(TMember &&))
 
adapter_builder< T > & pre_extract (typename adapter_builder< T >::pre_extract_func perform)
 
adapter_builder< T > & post_extract (typename adapter_builder< T >::post_extract_func perform)
 
adapter_builder< T > & on_extract_extra_keys (typename adapter_builder< T >::extra_keys_func handler)
 

Protected Attributes

adapter_builder< T > * owner
 

Detailed Description

template<typename T>
class jsonv::detail::adapter_builder_dsl< T >

Definition at line 627 of file serialization_builder.hpp.


The documentation for this class was generated from the following file: