Searched refs:parser_helper (Results 1 – 1 of 1) sorted by relevance
225 json parser_helper(const std::string& s);229 json parser_helper(const std::string& s) in parser_helper() function332 CHECK(parser_helper("null") == json(nullptr));337 CHECK(parser_helper("true") == json(true));342 CHECK(parser_helper("false") == json(false));349 CHECK(parser_helper("[]") == json(json::value_t::array));350 CHECK(parser_helper("[ ]") == json(json::value_t::array));355 CHECK(parser_helper("[true, false, null]") == json({true, false, nullptr}));363 CHECK(parser_helper("{}") == json(json::value_t::object));364 CHECK(parser_helper("{ }") == json(json::value_t::object));[all …]