OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FsiJsonUtils.h File Reference
#include <rapidjson/document.h>
#include <map>
#include <vector>
#include "Logger/Logger.h"
+ Include dependency graph for FsiJsonUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 foreign_storage
 
 foreign_storage::json_utils
 

Functions

template<class T >
void foreign_storage::json_utils::add_value_to_object (rapidjson::Value &object, const T &value, const std::string &name, rapidjson::Document::AllocatorType &allocator)
 
template<class T >
void foreign_storage::json_utils::get_value_from_object (const rapidjson::Value &object, T &value, const std::string &name)
 
void foreign_storage::json_utils::set_value (rapidjson::Value &json_val, const long unsigned int &value, rapidjson::Document::AllocatorType &allocator)
 
void foreign_storage::json_utils::get_value (const rapidjson::Value &json_val, long unsigned int &value)
 
void foreign_storage::json_utils::set_value (rapidjson::Value &json_val, const int &value, rapidjson::Document::AllocatorType &allocator)
 
void foreign_storage::json_utils::get_value (const rapidjson::Value &json_val, int &value)
 
void foreign_storage::json_utils::set_value (rapidjson::Value &json_val, const std::string &value, rapidjson::Document::AllocatorType &allocator)
 
void foreign_storage::json_utils::get_value (const rapidjson::Value &json_val, std::string &value)
 
template<class T >
void foreign_storage::json_utils::set_value (rapidjson::Value &json_val, const std::vector< T > &vector_value, rapidjson::Document::AllocatorType &allocator)
 
template<class T >
void foreign_storage::json_utils::get_value (const rapidjson::Value &json_val, std::vector< T > &vector_value)
 
template<class T , class V >
void foreign_storage::json_utils::set_value (rapidjson::Value &json_val, const std::map< T, V > &map_value, rapidjson::Document::AllocatorType &allocator)
 
template<class T , class V >
void foreign_storage::json_utils::get_value (const rapidjson::Value &json_val, std::map< T, V > &map_value)
 
rapidjson::Document foreign_storage::json_utils::read_from_file (const std::string &file_path)
 
void foreign_storage::json_utils::write_to_file (const rapidjson::Document &document, const std::string &filepath)