#include <filesystem>
#include <initializer_list>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
|
| void | opennn::add_json_field (JsonWriter &writer, const std::string &name, const std::string &value) |
| |
| void | opennn::write_json (JsonWriter &writer, std::initializer_list< std::pair< const char *, std::string > > props) |
| |
| float | opennn::read_json_type (const Json *root, const std::string &field) |
| |
| long | opennn::read_json_index (const Json *root, const std::string &field) |
| |
| bool | opennn::read_json_bool (const Json *root, const std::string &field) |
| |
| std::string | opennn::read_json_string (const Json *root, const std::string &field) |
| |
| std::string | opennn::read_json_string_fallback (const Json *root, std::initializer_list< std::string > names) |
| |
| const Json * | opennn::require_json_field (const Json *root, const std::string &field) |
| |
| template<typename Func> |
| void | opennn::for_json_items (const Json *parent, const char *tag, long count, Func func) |
| |
| JsonDocument | opennn::load_json_file (const std::filesystem::path &file_name) |
| |
| const Json * | opennn::get_json_root (const JsonDocument &document, const std::string &tag) |
| |