Skip to content

Commit 984eee9

Browse files
committed
Check-in results
1 parent dfcd638 commit 984eee9

File tree

217 files changed

+7274
-5263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+7274
-5263
lines changed

bug_reports/Bash_JSONPath.sh.md

Lines changed: 0 additions & 221 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,65 +1202,6 @@ The following queries provide results that do not match those of other implement
12021202
[]
12031203
```
12041204

1205-
- [ ] `$[?(@.a && @.b || @.c)]`
1206-
Input:
1207-
```
1208-
[
1209-
{
1210-
"a": true,
1211-
"b": true
1212-
},
1213-
{
1214-
"a": true,
1215-
"b": true,
1216-
"c": true
1217-
},
1218-
{
1219-
"b": true,
1220-
"c": true
1221-
},
1222-
{
1223-
"a": true,
1224-
"c": true
1225-
},
1226-
{
1227-
"a": true
1228-
},
1229-
{
1230-
"b": true
1231-
},
1232-
{
1233-
"c": true
1234-
},
1235-
{
1236-
"d": true
1237-
},
1238-
{}
1239-
]
1240-
```
1241-
Expected output:
1242-
```
1243-
[{"a": true, "b": true}, {"a": true, "b": true, "c": true}, {"b": true, "c": true}, {"a": true, "c": true}, {"c": true}]
1244-
```
1245-
Actual output:
1246-
```
1247-
[
1248-
true,
1249-
true,
1250-
true,
1251-
true,
1252-
true,
1253-
true,
1254-
true,
1255-
true,
1256-
true,
1257-
true,
1258-
true,
1259-
true,
1260-
true
1261-
]
1262-
```
1263-
12641205
- [ ] `$[?()]`
12651206
Input:
12661207
```
@@ -1573,39 +1514,6 @@ The following queries provide results that do not match those of other implement
15731514
[]
15741515
```
15751516

1576-
- [ ] `$[?(@.length() == 4)]`
1577-
Input:
1578-
```
1579-
[
1580-
[
1581-
1,
1582-
2,
1583-
3,
1584-
4,
1585-
5
1586-
],
1587-
[
1588-
1,
1589-
2,
1590-
3,
1591-
4
1592-
],
1593-
[
1594-
1,
1595-
2,
1596-
3
1597-
]
1598-
]
1599-
```
1600-
Expected output:
1601-
```
1602-
NOT_SUPPORTED
1603-
```
1604-
Actual output:
1605-
```
1606-
[]
1607-
```
1608-
16091517
- [ ] `$[?(@.key='value')]`
16101518
Input:
16111519
```
@@ -1853,87 +1761,6 @@ The following queries provide results that do not match those of other implement
18531761
[]
18541762
```
18551763

1856-
- [ ] `$[?@.key==42]`
1857-
Input:
1858-
```
1859-
[
1860-
{
1861-
"key": 0
1862-
},
1863-
{
1864-
"key": 42
1865-
},
1866-
{
1867-
"key": -1
1868-
},
1869-
{
1870-
"key": 1
1871-
},
1872-
{
1873-
"key": 41
1874-
},
1875-
{
1876-
"key": 43
1877-
},
1878-
{
1879-
"key": 42.0001
1880-
},
1881-
{
1882-
"key": 41.9999
1883-
},
1884-
{
1885-
"key": 100
1886-
},
1887-
{
1888-
"key": "some"
1889-
},
1890-
{
1891-
"key": "42"
1892-
},
1893-
{
1894-
"key": null
1895-
},
1896-
{
1897-
"key": 420
1898-
},
1899-
{
1900-
"key": ""
1901-
},
1902-
{
1903-
"key": {}
1904-
},
1905-
{
1906-
"key": []
1907-
},
1908-
{
1909-
"key": [
1910-
42
1911-
]
1912-
},
1913-
{
1914-
"key": {
1915-
"key": 42
1916-
}
1917-
},
1918-
{
1919-
"key": {
1920-
"some": 42
1921-
}
1922-
},
1923-
{
1924-
"some": "value"
1925-
}
1926-
]
1927-
```
1928-
Expected output:
1929-
```
1930-
NOT_SUPPORTED
1931-
```
1932-
Actual output:
1933-
```
1934-
[]
1935-
```
1936-
19371764
- [ ] `$.data.sum()`
19381765
Input:
19391766
```
@@ -1973,34 +1800,6 @@ The following queries provide results that do not match those of other implement
19731800
[]
19741801
```
19751802

1976-
- [ ] `$..`
1977-
Input:
1978-
```
1979-
[
1980-
{
1981-
"a": {
1982-
"b": "c"
1983-
}
1984-
},
1985-
[
1986-
0,
1987-
1
1988-
]
1989-
]
1990-
```
1991-
Expected output (in any order as no consensus on ordering exists):
1992-
```
1993-
NOT_SUPPORTED
1994-
```
1995-
Actual output:
1996-
```
1997-
[
1998-
"c",
1999-
0,
2000-
1
2001-
]
2002-
```
2003-
20041803
- [ ] `$.key..`
20051804
Input:
20061805
```
@@ -2171,25 +1970,5 @@ The following queries provide results that do not match those of other implement
21711970
[]
21721971
```
21731972

2174-
- [ ] `$[*,1]`
2175-
Input:
2176-
```
2177-
[
2178-
"first",
2179-
"second",
2180-
"third",
2181-
"forth",
2182-
"fifth"
2183-
]
2184-
```
2185-
Expected output:
2186-
```
2187-
NOT_SUPPORTED
2188-
```
2189-
Actual output:
2190-
```
2191-
[]
2192-
```
2193-
21941973

21951974
For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/master/implementations/Bash_JSONPath.sh.

bug_reports/C_json-glib.md

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,52 +1623,6 @@ The following queries provide results that do not match those of other implement
16231623
Unable to compile selector `$[?(@.a && (@.b || @.c))]': Invalid array index definition “?(@.a && (@.b || @.c))]”
16241624
```
16251625

1626-
- [ ] `$[?(@.a && @.b || @.c)]`
1627-
Input:
1628-
```
1629-
[
1630-
{
1631-
"a": true,
1632-
"b": true
1633-
},
1634-
{
1635-
"a": true,
1636-
"b": true,
1637-
"c": true
1638-
},
1639-
{
1640-
"b": true,
1641-
"c": true
1642-
},
1643-
{
1644-
"a": true,
1645-
"c": true
1646-
},
1647-
{
1648-
"a": true
1649-
},
1650-
{
1651-
"b": true
1652-
},
1653-
{
1654-
"c": true
1655-
},
1656-
{
1657-
"d": true
1658-
},
1659-
{}
1660-
]
1661-
```
1662-
Expected output:
1663-
```
1664-
[{"a": true, "b": true}, {"a": true, "b": true, "c": true}, {"b": true, "c": true}, {"a": true, "c": true}, {"c": true}]
1665-
```
1666-
Actual output:
1667-
NOT_SUPPORTED
1668-
```
1669-
Unable to compile selector `$[?(@.a && @.b || @.c)]': Invalid array index definition “?(@.a && @.b || @.c)]”
1670-
```
1671-
16721626
- [ ] `$[?(@==42)]`
16731627
Input:
16741628
```

0 commit comments

Comments
 (0)