MCPcopy Create free account
hub / github.com/crownengine/crown / parse

Method parse

src/device/user_config.cpp:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25bool UserConfig::parse(const char *json)
26{
27 TempAllocator4096 ta;
28 JsonObject cfg(ta);
29 sjson::parse(cfg, json);
30
31 if (json_object::has(cfg, "render_settings"))
32 render_settings::parse(render_settings, cfg["render_settings"]);
33
34 return true;
35}
36
37bool UserConfig::load(File *file)
38{

Callers

nothing calls this directly

Calls 2

parseFunction · 0.50
hasFunction · 0.50

Tested by

no test coverage detected