Home
last modified time | relevance | path

Searched refs:parser_helper (Results 1 - 1 of 1) sorted by relevance

/third_party/json/tests/src/
H A Dunit-class_parser.cpp206 json parser_helper(const std::string& s);
210 json parser_helper(const std::string& s) in parser_helper() function
313 CHECK(parser_helper("null") == json(nullptr));
318 CHECK(parser_helper("true") == json(true));
323 CHECK(parser_helper("false") == json(false));
330 CHECK(parser_helper("[]") == json(json::value_t::array));
331 CHECK(parser_helper("[ ]") == json(json::value_t::array));
336 CHECK(parser_helper("[true, false, null]") == json({true, false, nullptr}));
344 CHECK(parser_helper("{}") == json(json::value_t::object));
345 CHECK(parser_helper("{ }")
[all...]

Completed in 2 milliseconds