43 nlohmann::json rel = r;
44 rel[
"source"] = std::to_string(f.
id().
value());
45 parent[
"relationships"].push_back(std::move(rel));
53 j[
"id"] = std::to_string(f.
id().
value());
59 j[
"display_name"] = std::move(display_name);
70 parent[
"elements"].push_back(std::move(j));
76 j[
"file_kind"] = to_string(f.
type());
81 parent[
"elements"].push_back(std::move(j));
87 parent[
"elements"] = std::vector<nlohmann::json>{};
88 parent[
"relationships"] = std::vector<nlohmann::json>{};