MCPcopy Create free account
hub / github.com/M2Team/NanaBox / SerializeConfiguration

Method SerializeConfiguration

NanaBox/ConfigurationManager.cpp:1213–1222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1211}
1212
1213std::string NanaBox::SerializeConfiguration(
1214 NanaBox::VirtualMachineConfiguration const& Configuration)
1215{
1216 nlohmann::json Result;
1217
1218 Result["NanaBox"] = NanaBox::FromVirtualMachineConfiguration(Configuration);
1219 Result["NanaBox"]["Type"] = "VirtualMachine";
1220
1221 return Result.dump(2);
1222}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected