1 parent
cacda19e75
commit
fee38afd8b
1 file changed
+7
@@ -181,6 +181,9 @@ sections:
|
|||||||
numbers as three separate results, rather than as a single
|
numbers as three separate results, rather than as a single
|
||||||
array.
|
array.
|
||||||
|
|
||||||
|
You can also use this on an object, and it will return all
|
||||||
|
the values of the object.
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- program: '.[]'
|
- program: '.[]'
|
||||||
input: '[{"name":"JSON", "good":true}, {"name":"XML", "good":false}]'
|
input: '[{"name":"JSON", "good":true}, {"name":"XML", "good":false}]'
|
||||||
@@ -192,6 +195,10 @@ sections:
|
|||||||
input: '[]'
|
input: '[]'
|
||||||
output: []
|
output: []
|
||||||
|
|
||||||
|
- program: '.[]'
|
||||||
|
input: '{"a": 1, "b": 2}'
|
||||||
|
output: ['[1, 2]']
|
||||||
|
|
||||||
- title: "`,`"
|
- title: "`,`"
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user