Lines Matching full:json
4 #include <nlohmann/json.hpp>
15 nlohmann::json j = {{"foo", "$bus"}};
22 nlohmann::json expected = 23;
28 nlohmann::json j = {{"foo", "$TEST"}};
35 nlohmann::json expected = "Test";
41 nlohmann::json j = {{"foo", "the $TEST"}};
48 nlohmann::json expected = "the Test";
54 nlohmann::json j = {{"foo", "the $TEST worked"}};
61 nlohmann::json expected = "the Test worked";
67 nlohmann::json j = {{"foo", "the Test $TEST"}};
74 nlohmann::json expected = "the Test 23";
80 nlohmann::json j = {{"foo", "3 plus 1 equals $TEST + 1"}};
87 nlohmann::json expected = "3 plus 1 equals 4";
93 nlohmann::json j = {{"foo", "3 minus 1 equals $TEST - 1 !"}};
100 nlohmann::json expected = "3 minus 1 equals 2 !";
106 nlohmann::json j = {{"foo", "3 mod 2 equals $TEST % 2"}};
113 nlohmann::json expected = "3 mod 2 equals 1";
119 nlohmann::json j = {{"foo", "3 * 2 equals $TEST * 2"}};
126 nlohmann::json expected = "3 * 2 equals 6";
132 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2"}};
139 nlohmann::json expected = "4 / 2 equals 2";
145 nlohmann::json j = {{"foo", "4 * 2 % 6 equals $TEST * 2 % 6"}};
152 nlohmann::json expected = "4 * 2 % 6 equals 2";
158 nlohmann::json j = {{"foo", "$FOO $BAR"}};
166 nlohmann::json expected = "foo bar";
172 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2 $BAR"}};
180 nlohmann::json expected = "4 / 2 equals 2 bar";
185 nlohmann::json j = {{"foo", "4 / 2 equals $ADDRESS / 2 $BAR"}};
193 nlohmann::json expected = "4 / 2 equals 2 bar";
199 nlohmann::json j = {{"Address", "0x54"},
211 nlohmann::json expected = {{"Address", 84},
220 nlohmann::json j = {{"foo", "twelve is $TEST"}};
227 nlohmann::json expected = "twelve is 12";
233 nlohmann::json j = {{"foo", "0x54"}};
239 nlohmann::json expected = 84;
245 nlohmann::json j = {{"foo", "$EXISTENT_VAR and $NON_EXISTENT_VAR"}};
256 nlohmann::json expected = "Replaced and ";
262 nlohmann::json j = {{"foo", "the Test $TEST is $TESTED"}};
267 nlohmann::json expected = "the Test is ";
273 nlohmann::json j = R"("foo")"_json;
280 nlohmann::json j = R"("foo*")"_json;
287 nlohmann::json j = R"("foobar")"_json;
294 nlohmann::json j = R"("foo[")"_json;
301 nlohmann::json j = R"("foo(?!bar)...foo")"_json;
310 nlohmann::json j = R"("0")"_json;
317 nlohmann::json j = R"("1")"_json;
324 nlohmann::json j = R"("11")"_json;
331 nlohmann::json j = R"("false")"_json;
338 nlohmann::json j = R"("true")"_json;
345 nlohmann::json j = R"("false")"_json;
352 nlohmann::json j = R"("255")"_json;
359 nlohmann::json j = R"("65535")"_json;
366 nlohmann::json j = R"("false")"_json;
373 nlohmann::json j = R"("true")"_json;
380 nlohmann::json j = R"("11")"_json;
387 nlohmann::json j = R"("-11")"_json;
394 nlohmann::json j = R"("1*4")"_json;
401 nlohmann::json j = R"("foo")"_json;
408 nlohmann::json j = R"("123.4")"_json;
415 nlohmann::json j = R"("-123.4")"_json;
422 nlohmann::json j = R"("-123.4")"_json;
429 nlohmann::json j = R"(false)"_json;
436 nlohmann::json j = R"(true)"_json;
443 nlohmann::json j = R"(false)"_json;
450 nlohmann::json j = R"(true)"_json;
457 nlohmann::json j = R"(true)"_json;
464 nlohmann::json j = R"(true)"_json;
471 nlohmann::json j = R"(false)"_json;
478 nlohmann::json j = R"(false)"_json;
485 nlohmann::json j = R"(true)"_json;
492 nlohmann::json j = R"(true)"_json;
499 nlohmann::json j = R"(false)"_json;
506 nlohmann::json j = R"(false)"_json;
513 nlohmann::json j = R"(false)"_json;
520 nlohmann::json j = R"(true)"_json;
527 nlohmann::json j = R"(true)"_json;
534 nlohmann::json j = R"(11)"_json;
541 nlohmann::json j = R"(1)"_json;
548 nlohmann::json j = R"(0)"_json;
555 nlohmann::json j = R"(11)"_json;
562 nlohmann::json j = R"(11)"_json;
569 nlohmann::json j = R"(65535)"_json;
576 nlohmann::json j = R"(11)"_json;
583 nlohmann::json j = R"(11)"_json;
590 nlohmann::json j = R"(11)"_json;
597 nlohmann::json j = R"(11)"_json;
604 nlohmann::json j = R"(11)"_json;
611 nlohmann::json j = R"(-11)"_json;
618 nlohmann::json j = R"(-1)"_json;
625 nlohmann::json j = R"(-11)"_json;
632 nlohmann::json j = R"(-11)"_json;
639 nlohmann::json j = R"(-124)"_json;
646 nlohmann::json j = R"(-11)"_json;
653 nlohmann::json j = R"(-11)"_json;
660 nlohmann::json j = R"(-11)"_json;
667 nlohmann::json j = R"(-11)"_json;
674 nlohmann::json j = R"(0.0)"_json;
681 nlohmann::json j = R"(0.0)"_json;
688 nlohmann::json j = R"(1.0)"_json;
695 nlohmann::json j = R"(-124.0)"_json;
702 nlohmann::json j = R"(-124.0)"_json;
709 nlohmann::json j = R"(124.7)"_json;
715 nlohmann::json j = R"(-124.2)"_json;
722 nlohmann::json j = R"(-124.3)"_json;
729 nlohmann::json j = R"(-11.0)"_json;
736 nlohmann::json j = R"(-11.2)"_json;
743 nlohmann::json j = R"([1, 2])"_json;
750 nlohmann::json j = R"([1, 2])"_json;
757 nlohmann::json j = R"([1, 2])"_json;
764 nlohmann::json j = R"([1, 2])"_json;
771 nlohmann::json j = R"([1, 2])"_json;
778 nlohmann::json j = R"([1, 2])"_json;
785 nlohmann::json j = R"([1, 2])"_json;
792 nlohmann::json j = R"([1, 2, 3])"_json;
799 nlohmann::json j = R"([1, 2])"_json;
806 nlohmann::json j = R"([])"_json;
813 nlohmann::json j = R"([])"_json;
820 nlohmann::json j = R"([1])"_json;
827 nlohmann::json j = R"({"foo": "bar"})"_json;
834 nlohmann::json j = R"({"foo": "bar"})"_json;
841 nlohmann::json j = R"({"foo": "bar"})"_json;
848 nlohmann::json j = R"({"foo": "bar"})"_json;
855 nlohmann::json j = R"({"foo": "bar"})"_json;
862 nlohmann::json j = R"({"foo": "bar"})"_json;
869 nlohmann::json j = R"({"foo": "bar"})"_json;
876 nlohmann::json j = R"(null)"_json;
883 nlohmann::json j = R"(null)"_json;
890 nlohmann::json j = R"(null)"_json;
897 nlohmann::json j = R"(null)"_json;
904 nlohmann::json j = R"(null)"_json;
911 nlohmann::json j = R"(null)"_json;
918 nlohmann::json j = R"(null)"_json;