JSON Voorhees
Killer JSON for C++
jsonv::no_serializer Class Reference

Thrown when formats::to_json does not have a serializer for the provided type. More...

#include <jsonv/serialization.hpp>

+ Inheritance diagram for jsonv::no_serializer:

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...
 

Detailed Description

Thrown when formats::to_json does not have a serializer for the provided type.

Definition at line 186 of file serialization.hpp.

Constructor & Destructor Documentation

jsonv::no_serializer::no_serializer ( const std::type_info &  type)
explicit

Create a new exception.

Member Function Documentation

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.


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