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