SOIL C++
C++ Unified Device Interface
json_helpers.h File Reference
#include "constants.h"
#include "cpprest/http_listener.h"
#include "Types.h"

Go to the source code of this file.

Namespaces

namespace  SOIL
 Type definitions.
 

Functions

template<typename T >
DLL web::json::value SOIL::to_json (const T &value)
 Value to JSON. More...
 
template<typename T >
DLL T SOIL::to_value (web::json::value json)
 JSON to Value. More...
 
template<>
DLL web::json::value SOIL::to_json< double > (const double &value)
 
template<>
DLL web::json::value SOIL::to_json< int64_t > (const int64_t &value)
 
template<>
DLL web::json::value SOIL::to_json< int > (const int &value)
 
template<>
DLL web::json::value SOIL::to_json< std::string > (const std::string &value)
 
template<>
DLL web::json::value SOIL::to_json< SOIL::TIME > (const SOIL::TIME &value)
 
template<>
DLL web::json::value SOIL::to_json< SOIL::ENUM > (const SOIL::ENUM &value)
 
template<>
DLL web::json::value SOIL::to_json< SOIL::BOOL > (const bool &value)
 
template<>
DLL double SOIL::to_value< double > (web::json::value value)
 
template<>
DLL int SOIL::to_value< int > (web::json::value value)
 
template<>
DLL int64_t SOIL::to_value< int64_t > (web::json::value value)
 
template<>
DLL std::string SOIL::to_value< std::string > (web::json::value json)
 
template<>
DLL SOIL::TIME SOIL::to_value< SOIL::TIME > (web::json::value json)
 
template<>
DLL SOIL::ENUM SOIL::to_value< SOIL::ENUM > (web::json::value json)
 
template<>
DLL bool SOIL::to_value< bool > (web::json::value json)