|
JSON Voorhees
Killer JSON for C++
|
Inheritance diagram for jsonv::function_serializer< T, FToJson >:
Collaboration diagram for jsonv::function_serializer< T, FToJson >:Public Member Functions | |
| template<typename FUToJson > requires (!std::same_as<std::remove_cvref_t<FUToJson>, function_serializer>) | |
| function_serializer (FUToJson &&to_json_) | |
Public Member Functions inherited from jsonv::serializer_for< T > | |
| virtual const std::type_info & | get_type () const override |
Get the run-time type this serialize knows how to encode. | |
| 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. | |
Protected Member Functions | |
| virtual value | to_json (const serialization_context &context, const T &from) const override |
Definition at line 28 of file function_serializer.hpp.
|
inlineexplicit |
Definition at line 36 of file function_serializer.hpp.
|
inlineoverrideprotectedvirtual |
Implements jsonv::serializer_for< T >.
Definition at line 43 of file function_serializer.hpp.