#include <string>
#include "nlohmann/json_fwd.hpp"
Go to the source code of this file.
|
| namespace | ssgx |
| |
| namespace | ssgx::json_t |
| | This module is a lightweight wrapper for nlohmann::json, designed for extracting values from a JSON object.
|
| |
|
| bool | ssgx::json_t::fetch_json_string_node (const nlohmann::json &root, const std::string &node_name, std::string &value, std::string &err_msg) |
| | Extract a string from a JSON object.
|
| |
| bool | ssgx::json_t::fetch_json_int_node (const nlohmann::json &root, const std::string &node_name, int &value, std::string &err_msg) |
| | Extract an integer from a JSON object.
|
| |
| bool | ssgx::json_t::fetch_json_bool_node (const nlohmann::json &root, const std::string &node_name, bool &value, std::string &err_msg) |
| | Extract a boolean value from a JSON object.
|
| |
| bool | ssgx::json_t::fetch_json_long_node (const nlohmann::json &root, const std::string &node_name, long &value, std::string &err_msg) |
| | Extract a long integer from a JSON object.
|
| |
| bool | ssgx::json_t::fetch_json_array_node (const nlohmann::json &root, const std::string &node_name, nlohmann::json &value, std::string &err_msg) |
| | Extract a json array from a JSON object.
|
| |
| bool | ssgx::json_t::fetch_json_object_node (const nlohmann::json &root, const std::string &node_name, nlohmann::json &value, std::string &err_msg) |
| | Extract a json object from a JSON object.
|
| |