Developer documentation
Version 3.0.3-105-gd3941f44
json_utils.h File Reference
#include "file/json.h"
#include "file/key_value.h"

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::File
 
namespace  MR::File::JSON
 

Functions

void MR::File::JSON::load (Header &H, const std::string &path)
 
void MR::File::JSON::save (const Header &H, const std::string &json_path, const std::string &image_path)
 
KeyValues MR::File::JSON::read (const nlohmann::json &json, const KeyValues &preexisting=KeyValues())
 
void MR::File::JSON::read (const nlohmann::json &json, Header &header, const bool realign)
 
void MR::File::JSON::write (const KeyValues &keyval, nlohmann::json &json)
 
void MR::File::JSON::write (const Header &header, nlohmann::json &json, const std::string &image_path)