Virgil Security C++ SDK
Public Member Functions | Static Public Member Functions | List of all members
virgil::sdk::serialization::JsonTemplatedDeserializer< T > Class Template Reference

Forward decl. More...

#include <JsonTemplatedDeserializer.h>

Inheritance diagram for virgil::sdk::serialization::JsonTemplatedDeserializer< T >:
virgil::sdk::serialization::JsonTemplatedDeserializerBase< T >

Public Member Functions

 JsonTemplatedDeserializer ()=delete
 Forbid instantiation.
 

Static Public Member Functions

template<typename ResultType >
static ResultType fromJson (const nlohmann::json &json)
 
- Static Public Member Functions inherited from virgil::sdk::serialization::JsonTemplatedDeserializerBase< T >
template<typename ResultType >
static ResultType fromJsonString (const std::string &jsonString)
 

Detailed Description

template<typename T>
class virgil::sdk::serialization::JsonTemplatedDeserializer< T >

Forward decl.

This class is responsible for deserializing of templated models.

Note
Supported classes: SignableRequestInterface
Template Parameters
T

Member Function Documentation

template<typename T >
template<typename ResultType >
static ResultType virgil::sdk::serialization::JsonTemplatedDeserializer< T >::fromJson ( const nlohmann::json &  json)
static
Template Parameters
ResultTypetype for deserialized objects. Supported classes: CreateCardRequest, RevokeCardRequest.
Parameters
jsonjson representation of the object
Returns
deserialized object

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