smgl 0.11.0
Structured Metadata Engine and Graph Objects Library
Loading...
Searching...
No Matches
Metadata.hpp
Go to the documentation of this file.
1#pragma once
2
5#include <nlohmann/json.hpp>
6
7#include "smgl/filesystem.hpp"
8
9namespace smgl
10{
12using Metadata = nlohmann::ordered_json;
13
15void WriteMetadata(const filesystem::path& path, const Metadata& m);
16
19
20} // namespace smgl
Project top-level namespace.
Metadata LoadMetadata(const filesystem::path &path)
Load Metadata from JSON file at path.
nlohmann::ordered_json Metadata
Metadata storage class.
Definition Metadata.hpp:12
void WriteMetadata(const filesystem::path &path, const Metadata &m)
Write Metadata to path in JSON format.