SOIL C++
C++ Unified Device Interface
json_helpers.cpp File Reference
#include "json_helpers.h"
#include "Types.h"

Go to the source code of this file.

Functions

template<>
web::json::value SOIL::to_json< std::string > (const std::string &value)
 
template<>
web::json::value SOIL::to_json< SOIL::TIME > (const SOIL::TIME &value)
 
template<>
web::json::value SOIL::to_json< SOIL::ENUM > (const SOIL::ENUM &value)
 
template<>
web::json::value SOIL::to_json< SOIL::BOOL > (const bool &value)
 
template<>
std::string SOIL::to_value< std::string > (web::json::value json)
 
template<>
SOIL::TIME SOIL::to_value< SOIL::TIME > (web::json::value json)
 
template<>
SOIL::ENUM SOIL::to_value< SOIL::ENUM > (web::json::value json)
 

Function Documentation

◆ SOIL::to_json< SOIL::BOOL >()

template<>
web::json::value SOIL::to_json< SOIL::BOOL > ( const bool &  value)

Definition at line 47 of file json_helpers.cpp.

◆ SOIL::to_json< SOIL::ENUM >()

template<>
web::json::value SOIL::to_json< SOIL::ENUM > ( const SOIL::ENUM value)

Definition at line 41 of file json_helpers.cpp.

◆ SOIL::to_json< SOIL::TIME >()

template<>
web::json::value SOIL::to_json< SOIL::TIME > ( const SOIL::TIME value)

Definition at line 35 of file json_helpers.cpp.

◆ SOIL::to_json< std::string >()

template<>
web::json::value SOIL::to_json< std::string > ( const std::string &  value)

Definition at line 29 of file json_helpers.cpp.

◆ SOIL::to_value< SOIL::ENUM >()

template<>
SOIL::ENUM SOIL::to_value< SOIL::ENUM > ( web::json::value  json)

Definition at line 86 of file json_helpers.cpp.

◆ SOIL::to_value< SOIL::TIME >()

template<>
SOIL::TIME SOIL::to_value< SOIL::TIME > ( web::json::value  json)

Definition at line 80 of file json_helpers.cpp.

◆ SOIL::to_value< std::string >()

template<>
std::string SOIL::to_value< std::string > ( web::json::value  json)

Definition at line 74 of file json_helpers.cpp.