|
JSON Voorhees
Killer JSON for C++
|
A deserializer for type T.
More...
#include <jsonv/serialization/deserializer_for.hpp>
Inheritance diagram for jsonv::deserializer_for< T >:
Collaboration diagram for jsonv::deserializer_for< T >:Public Member Functions | |
| virtual const std::type_info & | get_type () const noexcept override |
| virtual std::expected< void, ast_node_type > | deserialize (deserialization_context &context, reader &from, void *into) const override |
Protected Member Functions | |
| virtual std::expected< T, ast_node_type > | create (deserialization_context &context, reader &from) const =0 |
Create an instance of T by reading from. | |
A deserializer for type T.
This is a utility class which converts the void* used in the deserializer interface into the more-friendly T.
Definition at line 30 of file deserializer_for.hpp.
|
protectedpure virtual |
Create an instance of T by reading from.
Implemented in jsonv::function_deserializer< T, FDeserialize >.
|
inlineoverridevirtual |
Implements jsonv::deserializer.
Definition at line 44 of file deserializer_for.hpp.
Here is the call graph for this function:
|
inlineoverridevirtualnoexcept |
Implements jsonv::deserializer.
Definition at line 36 of file deserializer_for.hpp.