Update tests/man.test
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Nicolas Williams · committed by Nicolas Williams · parent 2a67fc3 · Browse files · 1 file·+906 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+906 added−0 removed
- tests:+906 added−0 removed
Provenance
- Commit
1ec8be1- Tree
98f7e66- Author
Nicolas Williams <nico@cryptonector.com>- Committer
Nicolas Williams <nico@cryptonector.com>- Parent
2a67fc3
1 file changed+906 added−0 removed
modified:tests/man.test+906 added
894 unmodified lines895 (.a, .b) |= range(3)896 null897 {"a":0,"b":0}898 899+.900+"Hello, world!"901+"Hello, world!"902+903+. | tojson904+12345678909876543212345905+"12345678909876543212345"906+907+map([., . == 1]) | tojson908+[1, 1.000, 1.0, 100e-2]909+"[[1,true],[1.000,true],[1.0,true],[1.00,true]]"910+911+. as $big | [$big, $big + 1] | map(. > 10000000000000000000000000000000)912+10000000000000000000000000000001913+[true, false]914+915+.foo916+{"foo": 42, "bar": "less interesting data"}917+42918+919+.foo920+{"notfoo": true, "alsonotfoo": false}921+null922+923+.["foo"]924+{"foo": 42}925+42926+927+.foo?928+{"foo": 42, "bar": "less interesting data"}929+42930+931+.foo?932+{"notfoo": true, "alsonotfoo": false}933+null934+935+.["foo"]?936+{"foo": 42}937+42938+939+[.foo?]940+[1,2]941+[]942+943+.[0]944+[{"name":"JSON", "good":true}, {"name":"XML", "good":false}]945+{"name":"JSON", "good":true}946+947+.[2]948+[{"name":"JSON", "good":true}, {"name":"XML", "good":false}]949+null950+951+.[-2]952+[1,2,3]953+2954+955+.[2:4]956+["a","b","c","d","e"]957+["c", "d"]958+959+.[2:4]960+"abcdefghi"961+"cd"962+963+.[:3]964+["a","b","c","d","e"]965+["a", "b", "c"]966+967+.[-2:]968+["a","b","c","d","e"]969+["d", "e"]970+971+.[]972+[{"name":"JSON", "good":true}, {"name":"XML", "good":false}]973+{"name":"JSON", "good":true}974+{"name":"XML", "good":false}975+976+.[]977+[]978+979+.[]980+{"a": 1, "b": 1}981+1982+1983+984+.foo, .bar985+{"foo": 42, "bar": "something else", "baz": true}986+42987+"something else"988+989+.user, .projects[]990+{"user":"stedolan", "projects": ["jq", "wikiflow"]}991+"stedolan"992+"jq"993+"wikiflow"994+995+.[4,2]996+["a","b","c","d","e"]997+"e"998+"c"999+1000+.[] | .name1001+[{"name":"JSON", "good":true}, {"name":"XML", "good":false}]1002+"JSON"1003+"XML"1004+1005+(. + 2) * 51006+11007+151008+1009+[.user, .projects[]]1010+{"user":"stedolan", "projects": ["jq", "wikiflow"]}1011+["stedolan", "jq", "wikiflow"]1012+1013+[ .[] | . * 2]1014+[1, 2, 3]1015+[2, 4, 6]1016+1017+{user, title: .titles[]}1018+{"user":"stedolan","titles":["JQ Primer", "More JQ"]}1019+{"user":"stedolan", "title": "JQ Primer"}1020+{"user":"stedolan", "title": "More JQ"}1021+1022+{(.user): .titles}1023+{"user":"stedolan","titles":["JQ Primer", "More JQ"]}1024+{"stedolan": ["JQ Primer", "More JQ"]}1025+1026+..|.a?1027+[[{"a":1}]]1028+11029+1030+.a + 11031+{"a": 7}1032+81033+1034+.a + .b1035+{"a": [1,2], "b": [3,4]}1036+[1,2,3,4]1037+1038+.a + null1039+{"a": 1}1040+11041+1042+.a + 11043+{}1044+11045+1046+{a: 1} + {b: 2} + {c: 3} + {a: 42}1047+null1048+{"a": 42, "b": 2, "c": 3}1049+1050+4 - .a1051+{"a":3}1052+11053+1054+. - ["xml", "yaml"]1055+["xml", "yaml", "json"]1056+["json"]1057+1058+10 / . * 31059+51060+61061+1062+. / ", "1063+"a, b,c,d, e"1064+["a","b,c,d","e"]1065+1066+{"k": {"a": 1, "b": 2}} * {"k": {"a": 0,"c": 3}}1067+null1068+{"k": {"a": 0, "b": 2, "c": 3}}1069+1070+.[] | (1 / .)?1071+[1,0,-1]1072+11073+-11074+1075+.[] | length1076+[[1,2], "string", {"a":2}, null, -5]1077+21078+61079+11080+01081+51082+1083+utf8bytelength1084+"\u03bc"1085+21086+1087+keys1088+{"abc": 1, "abcd": 2, "Foo": 3}1089+["Foo", "abc", "abcd"]1090+1091+keys1092+[42,3,35]1093+[0,1,2]1094+1095+map(has("foo"))1096+[{"foo": 42}, {}]1097+[true, false]1098+1099+map(has(2))1100+[[0,1], ["a","b","c"]]1101+[false, true]1102+1103+.[] | in({"foo": 42})1104+["foo", "bar"]1105+true1106+false1107+1108+map(in([0,1]))1109+[2, 0]1110+[false, true]1111+1112+map(.+1)1113+[1,2,3]1114+[2,3,4]1115+1116+map_values(.+1)1117+{"a": 1, "b": 2, "c": 3}1118+{"a": 2, "b": 3, "c": 4}1119+1120+map(., .)1121+[1,2]1122+[1,1,2,2]1123+1124+map_values(. // empty)1125+{"a": null, "b": true, "c": false}1126+{"b":true}1127+1128+pick(.a, .b.c, .x)1129+{"a": 1, "b": {"c": 2, "d": 3}, "e": 4}1130+{"a":1,"b":{"c":2},"x":null}1131+1132+[1,2,3,4] | pick(.[2], .[0], .[0])1133+[1,2,3,4]1134+[1,null,3]1135+1136+path(.a[0].b)1137+null1138+["a",0,"b"]1139+1140+[path(..)]1141+{"a":[{"b":1}]}1142+[[],["a"],["a",0],["a",0,"b"]]1143+1144+del(.foo)1145+{"foo": 42, "bar": 9001, "baz": 42}1146+{"bar": 9001, "baz": 42}1147+1148+del(.[1, 2])1149+["foo", "bar", "baz"]1150+["foo"]1151+1152+getpath(["a","b"])1153+null1154+null1155+1156+[getpath(["a","b"], ["a","c"])]1157+{"a":{"b":0, "c":1}}1158+[0, 1]1159+1160+setpath(["a","b"]; 1)1161+null1162+{"a": {"b": 1}}1163+1164+setpath(["a","b"]; 1)1165+{"a":{"b":0}}1166+{"a": {"b": 1}}1167+1168+setpath([0,"a"]; 1)1169+null1170+[{"a":1}]1171+1172+delpaths([["a","b"]])1173+{"a":{"b":1},"x":{"y":2}}1174+{"a":{},"x":{"y":2}}1175+1176+to_entries1177+{"a": 1, "b": 2}1178+[{"key":"a", "value":1}, {"key":"b", "value":2}]1179+1180+from_entries1181+[{"key":"a", "value":1}, {"key":"b", "value":2}]1182+{"a": 1, "b": 2}1183+1184+with_entries(.key |= "KEY_" + .)1185+{"a": 1, "b": 2}1186+{"KEY_a": 1, "KEY_b": 2}1187+1188+map(select(. >= 2))1189+[1,5,3,0,7]1190+[5,3,7]1191+1192+.[] | select(.id == "second")1193+[{"id": "first", "val": 1}, {"id": "second", "val": 2}]1194+{"id": "second", "val": 2}1195+1196+.[]|numbers1197+[[],{},1,"foo",null,true,false]1198+11199+1200+1, empty, 21201+null1202+11203+21204+1205+[1,2,empty,3]1206+null1207+[1,2,3]1208+1209+try error("\($__loc__)") catch .1210+null1211+"{\"file\":\"<top-level>\",\"line\":1}"1212+1213+[paths]1214+[1,[[],{"a":2}]]1215+[[0],[1],[1,0],[1,1],[1,1,"a"]]1216+1217+[paths(type == "number")]1218+[1,[[],{"a":2}]]1219+[[0],[1,1,"a"]]1220+1221+add1222+["a","b","c"]1223+"abc"1224+1225+add1226+[1, 2, 3]1227+61228+1229+add1230+[]1231+null1232+1233+any1234+[true, false]1235+true1236+1237+any1238+[false, false]1239+false1240+1241+any1242+[]1243+false1244+1245+all1246+[true, false]1247+false1248+1249+all1250+[true, true]1251+true1252+1253+all1254+[]1255+true1256+1257+flatten1258+[1, [2], [[3]]]1259+[1, 2, 3]1260+1261+flatten(1)1262+[1, [2], [[3]]]1263+[1, 2, [3]]1264+1265+flatten1266+[[]]1267+[]1268+1269+flatten1270+[{"foo": "bar"}, [{"foo": "baz"}]]1271+[{"foo": "bar"}, {"foo": "baz"}]1272+1273+range(2; 4)1274+null1275+21276+31277+1278+[range(2; 4)]1279+null1280+[2,3]1281+1282+[range(4)]1283+null1284+[0,1,2,3]1285+1286+[range(0; 10; 3)]1287+null1288+[0,3,6,9]1289+1290+[range(0; 10; -1)]1291+null1292+[]1293+1294+[range(0; -5; -1)]1295+null1296+[0,-1,-2,-3,-4]1297+1298+floor1299+3.141591300+31301+1302+sqrt1303+91304+31305+1306+.[] | tonumber1307+[1, "1"]1308+11309+11310+1311+.[] | tostring1312+[1, "1", [1]]1313+"1"1314+"1"1315+"[1]"1316+1317+map(type)1318+[0, false, [], {}, null, "hello"]1319+["number", "boolean", "array", "object", "null", "string"]1320+1321+.[] | (infinite * .) < 01322+[-1, 1]1323+true1324+false1325+1326+infinite, nan | type1327+null1328+"number"1329+"number"1330+1331+sort1332+[8,3,null,6]1333+[null,3,6,8]1334+1335+sort_by(.foo)1336+[{"foo":4, "bar":10}, {"foo":3, "bar":100}, {"foo":2, "bar":1}]1337+[{"foo":2, "bar":1}, {"foo":3, "bar":100}, {"foo":4, "bar":10}]1338+1339+group_by(.foo)1340+[{"foo":1, "bar":10}, {"foo":3, "bar":100}, {"foo":1, "bar":1}]1341+[[{"foo":1, "bar":10}, {"foo":1, "bar":1}], [{"foo":3, "bar":100}]]1342+1343+min1344+[5,4,2,7]1345+21346+1347+max_by(.foo)1348+[{"foo":1, "bar":14}, {"foo":2, "bar":3}]1349+{"foo":2, "bar":3}1350+1351+unique1352+[1,2,5,3,5,3,1,3]1353+[1,2,3,5]1354+1355+unique_by(.foo)1356+[{"foo": 1, "bar": 2}, {"foo": 1, "bar": 3}, {"foo": 4, "bar": 5}]1357+[{"foo": 1, "bar": 2}, {"foo": 4, "bar": 5}]1358+1359+unique_by(length)1360+["chunky", "bacon", "kitten", "cicada", "asparagus"]1361+["bacon", "chunky", "asparagus"]1362+1363+reverse1364+[1,2,3,4]1365+[4,3,2,1]1366+1367+contains("bar")1368+"foobar"1369+true1370+1371+contains(["baz", "bar"])1372+["foobar", "foobaz", "blarp"]1373+true1374+1375+contains(["bazzzzz", "bar"])1376+["foobar", "foobaz", "blarp"]1377+false1378+1379+contains({foo: 12, bar: [{barp: 12}]})1380+{"foo": 12, "bar":[1,2,{"barp":12, "blip":13}]}1381+true1382+1383+contains({foo: 12, bar: [{barp: 15}]})1384+{"foo": 12, "bar":[1,2,{"barp":12, "blip":13}]}1385+false1386+1387+indices(", ")1388+"a,b, cd, efg, hijk"1389+[3,7,12]1390+1391+indices(1)1392+[0,1,2,1,3,1,4]1393+[1,3,5]1394+1395+indices([1,2])1396+[0,1,2,3,1,4,2,5,1,2,6,7]1397+[1,8]1398+1399+index(", ")1400+"a,b, cd, efg, hijk"1401+31402+1403+rindex(", ")1404+"a,b, cd, efg, hijk"1405+121406+1407+inside("foobar")1408+"bar"1409+true1410+1411+inside(["foobar", "foobaz", "blarp"])1412+["baz", "bar"]1413+true1414+1415+inside(["foobar", "foobaz", "blarp"])1416+["bazzzzz", "bar"]1417+false1418+1419+inside({"foo": 12, "bar":[1,2,{"barp":12, "blip":13}]})1420+{"foo": 12, "bar": [{"barp": 12}]}1421+true1422+1423+inside({"foo": 12, "bar":[1,2,{"barp":12, "blip":13}]})1424+{"foo": 12, "bar": [{"barp": 15}]}1425+false1426+1427+[.[]|startswith("foo")]1428+["fo", "foo", "barfoo", "foobar", "barfoob"]1429+[false, true, false, true, false]1430+1431+[.[]|endswith("foo")]1432+["foobar", "barfoo"]1433+[false, true]1434+1435+combinations1436+[[1,2], [3, 4]]1437+[1, 3]1438+[1, 4]1439+[2, 3]1440+[2, 4]1441+1442+combinations(2)1443+[0, 1]1444+[0, 0]1445+[0, 1]1446+[1, 0]1447+[1, 1]1448+1449+[.[]|ltrimstr("foo")]1450+["fo", "foo", "barfoo", "foobar", "afoo"]1451+["fo","","barfoo","bar","afoo"]1452+1453+[.[]|rtrimstr("foo")]1454+["fo", "foo", "barfoo", "foobar", "foob"]1455+["fo","","bar","foobar","foob"]1456+1457+explode1458+"foobar"1459+[102,111,111,98,97,114]1460+1461+implode1462+[65, 66, 67]1463+"ABC"1464+1465+split(", ")1466+"a, b,c,d, e, "1467+["a","b,c,d","e",""]1468+1469+join(", ")1470+["a","b,c,d","e"]1471+"a, b,c,d, e"1472+1473+join(" ")1474+["a",1,2.3,true,null,false]1475+"a 1 2.3 true false"1476+1477+[while(.<100; .*2)]1478+11479+[1,2,4,8,16,32,64]1480+1481+[repeat(.*2, error)?]1482+11483+[2]1484+1485+[.,1]|until(.[0] < 1; [.[0] - 1, .[1] * .[0]])|.[1]1486+41487+241488+1489+recurse(.foo[])1490+{"foo":[{"foo": []}, {"foo":[{"foo":[]}]}]}1491+{"foo":[{"foo":[]},{"foo":[{"foo":[]}]}]}1492+{"foo":[]}1493+{"foo":[{"foo":[]}]}1494+{"foo":[]}1495+1496+recurse1497+{"a":0,"b":[1]}1498+{"a":0,"b":[1]}1499+01500+[1]1501+11502+1503+recurse(. * .; . < 20)1504+21505+21506+41507+161508+1509+walk(if type == "array" then sort else . end)1510+[[4, 1, 7], [8, 5, 2], [3, 6, 9]]1511+[[1,4,7],[2,5,8],[3,6,9]]1512+1513+walk( if type == "object" then with_entries( .key |= sub( "^_+"; "") ) else . end )1514+[ { "_a": { "__b": 2 } } ]1515+[{"a":{"b":2}}]1516+1517+$ENV.PAGER1518+null1519+"less"1520+1521+env.PAGER1522+null1523+"less"1524+1525+transpose1526+[[1], [2,3]]1527+[[1,2],[null,3]]1528+1529+bsearch(0)1530+[0,1]1531+01532+1533+bsearch(0)1534+[1,2,3]1535+-11536+1537+bsearch(4) as $ix | if $ix < 0 then .[-(1+$ix)] = 4 else . end1538+[1,2,3]1539+[1,2,3,4]1540+1541+"The input was \(.), which is one less than \(.+1)"1542+421543+"The input was 42, which is one less than 43"1544+1545+[.[]|tostring]1546+[1, "foo", ["foo"]]1547+["1","foo","[\"foo\"]"]1548+1549+[.[]|tojson]1550+[1, "foo", ["foo"]]1551+["1","\"foo\"","[\"foo\"]"]1552+1553+[.[]|tojson|fromjson]1554+[1, "foo", ["foo"]]1555+[1,"foo",["foo"]]1556+1557+@html1558+"This works if x < y"1559+"This works if x < y"1560+1561+@sh "echo \(.)"1562+"O'Hara's Ale"1563+"echo 'O'\\''Hara'\\''s Ale'"1564+1565+@base641566+"This is a message"1567+"VGhpcyBpcyBhIG1lc3NhZ2U="1568+1569+@base64d1570+"VGhpcyBpcyBhIG1lc3NhZ2U="1571+"This is a message"1572+1573+fromdate1574+"2015-03-05T23:51:47Z"1575+14255995071576+1577+strptime("%Y-%m-%dT%H:%M:%SZ")1578+"2015-03-05T23:51:47Z"1579+[2015,2,5,23,51,47,4,63]1580+1581+strptime("%Y-%m-%dT%H:%M:%SZ")|mktime1582+"2015-03-05T23:51:47Z"1583+14255995071584+1585+. == false1586+null1587+false1588+1589+. == {"b": {"d": (4 + 1e-20), "c": 3}, "a":1}1590+{"a":1, "b": {"c": 3, "d": 4}}1591+true1592+1593+.[] == 11594+[1, 1.0, "1", "banana"]1595+true1596+true1597+false1598+false1599+1600+if . == 0 then "zero" elif . == 1 then "one" else "many" end1601+21602+"many"1603+1604+. < 51605+21606+true1607+1608+42 and "a string"1609+null1610+true1611+1612+(true, false) or false1613+null1614+true1615+false1616+1617+(true, true) and (true, false)1618+null1619+true1620+false1621+true1622+false1623+1624+[true, false | not]1625+null1626+[false, true]1627+1628+.foo // 421629+{"foo": 19}1630+191631+1632+.foo // 421633+{}1634+421635+1636+try .a catch ". is not an object"1637+true1638+". is not an object"1639+1640+[.[]|try .a]1641+[{}, true, {"a":1}]1642+[null, 1]1643+1644+try error("some exception") catch .1645+true1646+"some exception"1647+1648+[.[] | .a?]1649+[{}, true, {"a":1}]1650+[null, 1]1651+1652+[.[] | tonumber?]1653+["1", "invalid", "3", 4]1654+[1, 3, 4]1655+1656+test("foo")1657+"foo"1658+true1659+1660+.[] | test("a b c # spaces are ignored"; "ix")1661+["xabcd", "ABC"]1662+true1663+true1664+1665+match("(abc)+"; "g")1666+"abc abc"1667+{"offset": 0, "length": 3, "string": "abc", "captures": [{"offset": 0, "length": 3, "string": "abc", "name": null}]}1668+{"offset": 4, "length": 3, "string": "abc", "captures": [{"offset": 4, "length": 3, "string": "abc", "name": null}]}1669+1670+match("foo")1671+"foo bar foo"1672+{"offset": 0, "length": 3, "string": "foo", "captures": []}1673+1674+match(["foo", "ig"])1675+"foo bar FOO"1676+{"offset": 0, "length": 3, "string": "foo", "captures": []}1677+{"offset": 8, "length": 3, "string": "FOO", "captures": []}1678+1679+match("foo (?<bar123>bar)? foo"; "ig")1680+"foo bar foo foo foo"1681+{"offset": 0, "length": 11, "string": "foo bar foo", "captures": [{"offset": 4, "length": 3, "string": "bar", "name": "bar123"}]}1682+{"offset": 12, "length": 8, "string": "foo foo", "captures": [{"offset": -1, "length": 0, "string": null, "name": "bar123"}]}1683+1684+[ match("."; "g")] | length1685+"abc"1686+31687+1688+capture("(?<a>[a-z]+)-(?<n>[0-9]+)")1689+"xyzzy-14"1690+{ "a": "xyzzy", "n": "14" }1691+1692+.bar as $x | .foo | . + $x1693+{"foo":10, "bar":200}1694+2101695+1696+. as $i|[(.*2|. as $i| $i), $i]1697+51698+[10,5]1699+1700+. as [$a, $b, {c: $c}] | $a + $b + $c1701+[2, 3, {"c": 4, "d": 5}]1702+91703+1704+.[] as [$a, $b] | {a: $a, b: $b}1705+[[0], [0, 1], [2, 1, 0]]1706+{"a":0,"b":null}1707+{"a":0,"b":1}1708+{"a":2,"b":1}1709+1710+.[] as {$a, $b, c: {$d, $e}} ?// {$a, $b, c: [{$d, $e}]} | {$a, $b, $d, $e}1711+[{"a": 1, "b": 2, "c": {"d": 3, "e": 4}}, {"a": 1, "b": 2, "c": [{"d": 3, "e": 4}]}]1712+{"a":1,"b":2,"d":3,"e":4}1713+{"a":1,"b":2,"d":3,"e":4}1714+1715+.[] as {$a, $b, c: {$d}} ?// {$a, $b, c: [{$e}]} | {$a, $b, $d, $e}1716+[{"a": 1, "b": 2, "c": {"d": 3, "e": 4}}, {"a": 1, "b": 2, "c": [{"d": 3, "e": 4}]}]1717+{"a":1,"b":2,"d":3,"e":null}1718+{"a":1,"b":2,"d":null,"e":4}1719+1720+.[] as [$a] ?// [$b] | if $a != null then error("err: \($a)") else {$a,$b} end1721+[[3]]1722+{"a":null,"b":3}1723+1724+def addvalue(f): . + [f]; map(addvalue(.[0]))1725+[[1,2],[10,20]]1726+[[1,2,1], [10,20,10]]1727+1728+def addvalue(f): f as $x | map(. + $x); addvalue(.[0])1729+[[1,2],[10,20]]1730+[[1,2,1,2], [10,20,1,2]]1731+1732+reduce .[] as $item (0; . + $item)1733+[10,2,5,3]1734+201735+1736+isempty(empty)1737+null1738+true1739+1740+[limit(3;.[])]1741+[0,1,2,3,4,5,6,7,8,9]1742+[0,1,2]1743+1744+[first(range(.)), last(range(.)), nth(./2; range(.))]1745+101746+[0,9,5]1747+1748+[range(.)]|[first, last, nth(5)]1749+101750+[0,9,5]1751+1752+[foreach .[] as $item ([[],[]]; if $item == null then [[],.[0]] else [(.[0] + [$item]),[]] end; if $item == null then .[1] else empty end)]1753+[1,2,3,4,null,"a","b",null]1754+[[1,2,3,4],["a","b"]]1755+1756+def range(init; upto; by): def _range: if (by > 0 and . < upto) or (by < 0 and . > upto) then ., ((.+by)|_range) else . end; if by == 0 then init else init|_range end | select((by > 0 and . < upto) or (by < 0 and . > upto)); range(0; 10; 3)1757+null1758+01759+31760+61761+91762+1763+def while(cond; update): def _while: if cond then ., (update | _while) else empty end; _while; [while(.<100; .*2)]1764+11765+[1,2,4,8,16,32,64]1766+1767+[1|truncate_stream([[0],1],[[1,0],2],[[1,0]],[[1]])]1768+11769+[[[0],2],[[0]]]1770+1771+fromstream(1|truncate_stream([[0],1],[[1,0],2],[[1,0]],[[1]]))1772+null1773+[2]1774+1775+. as $dot|fromstream($dot|tostream)|.==$dot1776+[0,[1,{"a":1},{"b":2}]]1777+true1778+1779+(..|select(type=="boolean")) |= if . then 1 else 0 end1780+[true,false,[5,true,[true,[false]],false]]1781+[1,0,[5,1,[1,[0]],0]]1782+1783+.foo += 11784+{"foo": 42}1785+{"foo": 43}1786+1787+.a = .b1788+{"a": {"b": 10}, "b": 20}1789+{"a":20,"b":20}1790+1791+.a |= .b1792+{"a": {"b": 10}, "b": 20}1793+{"a":10,"b":20}1794+1795+(.a, .b) = range(3)1796+null1797+{"a":0,"b":0}1798+{"a":1,"b":1}1799+{"a":2,"b":2}1800+1801+(.a, .b) |= range(3)1802+null1803+{"a":0,"b":0}1804+