JSON Voorhees
Killer JSON for C++
|
Thrown when formats::to_json
does not have a serializer
for the provided type.
More...
#include <jsonv/serialization.hpp>
Public Member Functions | |
no_serializer (const std::type_info &type) | |
Create a new exception. More... | |
no_serializer (const std::type_index &type) | |
string_view | type_name () const |
The name of the type. More... | |
std::type_index | type_index () const |
Get an ID for the type of serializer that formats::to_json could not locate. More... | |
Thrown when formats::to_json
does not have a serializer
for the provided type.
Definition at line 186 of file serialization.hpp.
|
explicit |
Create a new exception.
std::type_index jsonv::no_serializer::type_index | ( | ) | const |
Get an ID for the type of serializer
that formats::to_json
could not locate.
string_view jsonv::no_serializer::type_name | ( | ) | const |
The name of the type.