TARAXA
jsoncpp.cpp File Reference
#include "common/jsoncpp.hpp"
#include <json/reader.h>
#include <json/writer.h>
#include <filesystem>
#include <fstream>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <string_view>

Namespaces

 taraxa
 
 taraxa::util
 

Functions

Json::Value taraxa::util::parse_json (std::string_view const &str)
 
std::string taraxa::util::to_string (Json::Value const &json, bool no_indent=true)
 
void taraxa::util::writeJsonToFile (const std::string &file_name, const Json::Value &json)
 
Json::Value taraxa::util::readJsonFromFile (const std::filesystem::path &file_path)
 
Json::Value taraxa::util::readJsonFromFile (const std::string &file_name)
 
Json::Value taraxa::util::readJsonFromString (std::string_view str)