8#include <nlohmann/json.hpp>
39 nlohmann::json serialized_json,
Definitions of classes used for storing piece points in Base Points Offset form.
CRTP interface with methods of importing / exporting objects from / to json files (concrete example =...
Implements JsonUtility interface; imports / exports objects from / to json files using the Nlohmann j...
void ImplementExport(T &object, const std::string file_path)
nlohmann::json Serialize(piecepoints::BPOPointsSKeys &bpo_points)
nlohmann::json ImportToSerializedJson(const std::string file_path)
void ExportSerializedJson(nlohmann::json serialized_json, const std::string file_path)
void ImplementImport(piecepoints::BPOPointsSKeys &bpo_points, const std::string file_path)
void ImplementExport(piecepoints::BPOPointsSKeys &bpo_points, const std::string file_path)
void ImplementImport(T &object, const std::string file_path)
void Deserialize(nlohmann::json serialized_json, piecepoints::BPOPointsSKeys &bpo_points)
Piece Points spec in "Base Points Offset" form with string keys in member unordered_map objects for e...
Definition of JsonUtility CRTP interface.
Importing / exporting objects from / to json files.