MCPcopy Create free account
hub / github.com/black-sliver/PopTracker / FromJSONString

Method FromJSONString

src/core/layoutnode.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8LayoutNode LayoutNode::FromJSONString(const std::string& j, std::unordered_map<std::string, const LayoutClass>& classes)
9{
10 auto tmp = json::parse(j, nullptr, true, true);
11 return FromJSON(tmp, classes);
12}
13
14LayoutNode LayoutNode::FromJSON(nlohmann::json&& j)
15{

Callers

nothing calls this directly

Calls 1

parseFunction · 0.50

Tested by

no test coverage detected