OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JsonUtils.cpp File Reference
#include "JsonUtils.h"
#include <fstream>
#include <rapidjson/istreamwrapper.h>
#include <rapidjson/ostreamwrapper.h>
#include <rapidjson/writer.h>
#include <rapidjson/stringbuffer.h>
+ Include dependency graph for JsonUtils.cpp:

Go to the source code of this file.

Namespaces

 json_utils
 

Functions

std::string json_utils::get_type_as_string (const rapidjson::Value &object)
 
void json_utils::set_value (rapidjson::Value &json_val, const size_t &value, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_val, size_t &value)
 
void json_utils::set_value (rapidjson::Value &json_val, const int &value, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_val, int &value)
 
void json_utils::set_value (rapidjson::Value &json_val, const std::string &value, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_val, std::string &value)
 
void json_utils::set_value (rapidjson::Value &json_val, const int64_t &value, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_val, int64_t &value)
 
void json_utils::set_value (rapidjson::Value &json_val, const bool &value, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_val, bool &value)
 
void json_utils::set_value (rapidjson::Value &json_val, const SQLTypes &value, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_val, SQLTypes &value)
 
void json_utils::set_value (rapidjson::Value &json_val, const EncodingType &value, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_val, EncodingType &value)
 
void json_utils::set_value (rapidjson::Value &json_obj, const shared::StringDictKey &dict_key, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_obj, shared::StringDictKey &dict_key)
 
void json_utils::set_value (rapidjson::Value &json_val, const SQLTypeInfo &type_info, rapidjson::Document::AllocatorType &allocator)
 
void json_utils::get_value (const rapidjson::Value &json_val, SQLTypeInfo &type_info)
 
rapidjson::Document json_utils::read_from_file (const std::string &file_path)
 
void json_utils::write_to_file (const rapidjson::Document &document, const std::string &filepath)
 
std::string json_utils::write_to_string (const rapidjson::Document &document)
 
std::optional< std::string > json_utils::get_optional_string_value_from_object (const rapidjson::Value &object, const std::string &key)