MCPcopy Create free account
hub / github.com/antvis/F2Native / ParseString

Function ParseString

core/graphics/util/json.cpp:24–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24nlohmann::json ParseString(const std::string &json) { return nlohmann::json::parse(json, nullptr, false); }
25
26std::vector<float> ParseDashArray(const nlohmann::json &json, float ratio, const std::vector<float> &defVal) {
27 if(json.is_array() && json.size() > 0) {

Callers 15

InvokeMethodMethod · 0.85
CompatToolTipMethod · 0.85
CompatScaleMethod · 0.85
SetEnableListConfigMethod · 0.85
ParseMethod · 0.85
ParseObjectMethod · 0.85
XChart.cppFile · 0.85
OnTouchEventMethod · 0.85
OnTapEventMethod · 0.85
GetTickTextMethod · 0.85
GetTickTextMethod · 0.85
ShowToolTipsMethod · 0.85

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected