|
JSON Voorhees
Killer JSON for C++
|
A serializer for type T.
More...
#include <jsonv/serialization/serializer_for.hpp>
Inheritance diagram for jsonv::serializer_for< T >:
Collaboration diagram for jsonv::serializer_for< T >:Public Member Functions | |
| virtual const std::type_info & | get_type () const noexcept override |
| virtual void | serialize (const serialization_context &context, const void *from, writer &to) const override |
Protected Member Functions | |
| virtual void | serialize (const serialization_context &context, const T &from, writer &to) const =0 |
| Write from into to. | |
A serializer for type T.
This is a utility class which converts the const void* used in the serializer interface into the more-friendly T.
Definition at line 31 of file serializer_for.hpp.
|
inlineoverridevirtualnoexcept |
Implements jsonv::serializer.
Definition at line 37 of file serializer_for.hpp.
|
protectedpure virtual |
Write from into to.
Implemented in jsonv::value_serializer_for< T >, and jsonv::function_serializer< T, FSerialize >.
|
inlineoverridevirtual |
Implements jsonv::serializer.
Definition at line 43 of file serializer_for.hpp.
Here is the call graph for this function: