CppWAMP
C++11 client library for the WAMP protocol
|
JSON encoder. More...
#include <cppwamp/json.hpp>
Public Member Functions | |
BasicJsonEncoder () | |
Default constructor. | |
~BasicJsonEncoder () | |
Destructor. | |
void | encode (const Variant &variant, Output &output) |
Serializes from the given variant to the given output (it does not first clear the output, by design). | |
JSON encoder.
This class uses jsoncons to serialize JSON payloads from Variant instances.
Meets the requirements of the CodecEncoder concept.
O | The output type in which to encode. |
C | The output category type (deduced). |