luna-sysmgr-common
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JsonMessageParser Class Reference

#include <JSONUtils.h>

Public Member Functions

 JsonMessageParser (const char *json, const char *schema)
 
bool parse (const char *callerFunction)
 
pbnjson::JValue get ()
 
bool get (const char *name, std::string &str)
 
bool get (const char *name, bool &boolean)
 
template<class T >
bool get (const char *name, T &number)
 
pbnjson::JValue get (const char *name)
 

Constructor & Destructor Documentation

JsonMessageParser::JsonMessageParser ( const char *  json,
const char *  schema 
)
inline

Member Function Documentation

pbnjson::JValue JsonMessageParser::get ( )
inline
bool JsonMessageParser::get ( const char *  name,
std::string &  str 
)
inline
bool JsonMessageParser::get ( const char *  name,
bool &  boolean 
)
inline
template<class T >
bool JsonMessageParser::get ( const char *  name,
T &  number 
)
inline
pbnjson::JValue JsonMessageParser::get ( const char *  name)
inline
bool JsonMessageParser::parse ( const char *  callerFunction)

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