libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::Rpc::JsonDecoder Class Reference

#include <JsonDecoder.h>

Public Member Functions

 JsonDecoder ()=default
 
 JsonDecoder (BaseLib::SharedObjects *dummy)
 
virtual ~JsonDecoder ()=default
 

Static Public Member Functions

static std::shared_ptr< Variabledecode (const std::string &json)
 
static std::shared_ptr< Variabledecode (const std::string &json, uint32_t &bytesRead)
 
static std::shared_ptr< Variabledecode (const std::vector< char > &json)
 
static std::shared_ptr< Variabledecode (const std::vector< char > &json, uint32_t &bytesRead)
 
static std::string decodeString (const std::string &s)
 

Constructor & Destructor Documentation

§ JsonDecoder() [1/2]

BaseLib::Rpc::JsonDecoder::JsonDecoder ( )
default

§ JsonDecoder() [2/2]

BaseLib::Rpc::JsonDecoder::JsonDecoder ( BaseLib::SharedObjects dummy)
inlineexplicit

§ ~JsonDecoder()

virtual BaseLib::Rpc::JsonDecoder::~JsonDecoder ( )
virtualdefault

Member Function Documentation

§ decode() [1/4]

std::shared_ptr< Variable > BaseLib::Rpc::JsonDecoder::decode ( const std::string &  json)
static

§ decode() [2/4]

std::shared_ptr< Variable > BaseLib::Rpc::JsonDecoder::decode ( const std::string &  json,
uint32_t &  bytesRead 
)
static

§ decode() [3/4]

std::shared_ptr< Variable > BaseLib::Rpc::JsonDecoder::decode ( const std::vector< char > &  json)
static

§ decode() [4/4]

std::shared_ptr< Variable > BaseLib::Rpc::JsonDecoder::decode ( const std::vector< char > &  json,
uint32_t &  bytesRead 
)
static

§ decodeString()

std::string BaseLib::Rpc::JsonDecoder::decodeString ( const std::string &  s)
static

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