17#ifndef __file_json_utils_h__
18#define __file_json_utils_h__
33 void save (
const Header&
H,
const std::string& json_path,
const std::string& image_path);
37 void read (
const nlohmann::json& json,
44 const std::string& image_path);
void write(const KeyValues &keyval, nlohmann::json &json)
void save(const Header &H, const std::string &json_path, const std::string &image_path)
void load(Header &H, const std::string &path)
KeyValues read(const nlohmann::json &json, const KeyValues &preexisting=KeyValues())
std::map< std::string, std::string > KeyValues
used in various places for storing key-value pairs