JSON Voorhees
Killer JSON for C++
jsonv::function_adapter< T, FExtract, FToJson > Class Template Reference
+ Inheritance diagram for jsonv::function_adapter< T, FExtract, FToJson >:

Public Member Functions

template<typename FUExtract , typename FUToJson >
 function_adapter (FUExtract &&extract_, FUToJson &&to_json_)
 
- Public Member Functions inherited from jsonv::adapter_for< T >
virtual const std::type_info & get_type () const override
 Get the run-time type this extractor knows how to extract. More...
 
virtual void extract (const extraction_context &context, const value &from, void *into) const override
 Extract a the type from a value into a region of memory. More...
 
virtual value to_json (const serialization_context &context, const void *from) const override
 Create a value from the value in the given region of memory. More...
 

Protected Member Functions

virtual T create (const extraction_context &context, const value &from) const override
 
virtual value to_json (const serialization_context &context, const T &from) const override
 

Detailed Description

template<typename T, typename FExtract, typename FToJson>
class jsonv::function_adapter< T, FExtract, FToJson >

Definition at line 249 of file serialization_util.hpp.


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