MCPcopy Create free account
hub / github.com/Snapchat/Valdi / jsonToValue

Function jsonToValue

valdi_core/src/valdi_core/cpp/Utils/ValueUtils.cpp:244–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244Result<Value> jsonToValue(const std::string_view& str) {
245 return correctJsonToValue(str);
246}
247
248Result<Value> jsonToValue(const Byte* data, size_t size) {
249 return jsonToValue(std::string_view(reinterpret_cast<const char*>(data), size));

Callers

nothing calls this directly

Calls 1

correctJsonToValueFunction · 0.85

Tested by

no test coverage detected