MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / string>

Method string>

src/core/json.cpp:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74 template<>
75 std::string Read<std::string>(const Json::Value& node, const std::string& defaultValue)
76 {
77 if (node.isString())
78 return node.asString();
79
80 return defaultValue;
81 }
82
83 template<>
84 int Read<int>(const Json::Value& node, const int& defaultValue)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected