CppWAMP
C++11 client library for the WAMP protocol
wamp::BasicJsonDecoder< I, C > Class Template Reference

JSON decoder. More...

#include <cppwamp/json.hpp>

Public Member Functions

 BasicJsonDecoder ()
 Default constructor.
 
 ~BasicJsonDecoder ()
 Destructor.
 
std::error_code decode (const Input &input, Variant &variant)
 Deserializes from the given input to the given variant.
 

Detailed Description

template<typename I, typename C = InputCategoryTypeOf<I>>
class wamp::BasicJsonDecoder< I, C >

JSON decoder.

This class uses jsoncons to deserialize JSON payloads into Variant instances.

Meets the requirements of the CodecDecoder concept.

Template Parameters
IThe input type from which to decode.
CThe input category type (deduced).

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