Lines Matching defs:null
25 bool null()
27 events.emplace_back("null()");
137 bool null() override
311 SECTION("null")
313 CHECK(parser_helper("null") == json(nullptr));
336 CHECK(parser_helper("[true, false, null]") == json({true, false, nullptr}));
350 CHECK(parser_helper("{\"\": true, \"one\": 1, \"two\": null}") == json({{"", true}, {"one", 1}, {"two", nullptr}}));
405 SECTION("additional test for null byte")
407 // The test above for the null byte is wrong, because passing
409 // a null byte. This test inserts the null byte later on and
634 SECTION("null")
636 CHECK(accept_helper("null"));
659 CHECK(accept_helper("[true, false, null]"));
673 CHECK(accept_helper("{\"\": true, \"one\": 1, \"two\": null}"));
926 // unexpected end of null
1187 // unexpected end of null
1425 // the top-level object will be discarded, leaving a null
1433 // the top-level array will be discarded, leaving a null
1653 SECTION("null")
1656 CHECK(json::sax_parse("null", &s) == false);