summaryrefslogtreecommitdiffstats
path: root/docs/content/manual/v1.4/manual.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/manual/v1.4/manual.yml')
-rw-r--r--docs/content/manual/v1.4/manual.yml28
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/content/manual/v1.4/manual.yml b/docs/content/manual/v1.4/manual.yml
index b51b3b1a..bca53755 100644
--- a/docs/content/manual/v1.4/manual.yml
+++ b/docs/content/manual/v1.4/manual.yml
@@ -220,13 +220,13 @@ sections:
examples:
- program: '.foo'
input: '{"foo": 42, "bar": "less interesting data"}'
- output: [42]
+ output: ['42']
- program: '.foo'
input: '{"notfoo": true, "alsonotfoo": false}'
output: ['null']
- program: '.["foo"]'
input: '{"foo": 42}'
- output: [42]
+ output: ['42']
- title: "`.foo?`"
body: |
@@ -237,13 +237,13 @@ sections:
examples:
- program: '.foo?'
input: '{"foo": 42, "bar": "less interesting data"}'
- output: [42]
+ output: ['42']
- program: '.foo?'
input: '{"notfoo": true, "alsonotfoo": false}'
output: ['null']
- program: '.["foo"]?'
input: '{"foo": 42}'
- output: [42]
+ output: ['42']
- program: '[.foo?]'
input: '[1,2]'
output: ['[]']
@@ -546,8 +546,8 @@ sections:
examples:
- program: '10 / . * 3'
- input: 5
- output: [6]
+ input: '5'
+ output: ['6']
- program: '. / ", "'
input: '"a, b,c,d, e"'
output: ['["a","b,c,d","e"]']
@@ -574,7 +574,7 @@ sections:
examples:
- program: '.[] | length'
input: '[[1,2], "string", {"a":2}, null]'
- output: [2, 6, 1, 0]
+ output: ['2', '6', '1', '0']
- title: "`keys`"
body: |
@@ -695,7 +695,7 @@ sections:
examples:
- program: '1, empty, 2'
input: 'null'
- output: [1, 2]
+ output: ['1', '2']
- program: '[1,2,empty,3]'
input: 'null'
output: ['[1,2,3]']
@@ -758,7 +758,7 @@ sections:
output: ['"abc"']
- program: add
input: '[1, 2, 3]'
- output: [6]
+ output: ['6']
- program: add
input: '[]'
output: ["null"]
@@ -849,7 +849,7 @@ sections:
examples:
- program: '.[] | tonumber'
input: '[1, "1"]'
- output: [1, 1]
+ output: ['1', '1']
- title: "`tostring`"
body: |
@@ -1327,7 +1327,7 @@ sections:
else
"many"
end
- input: 2
+ input: '2'
output: ['"many"']
- title: "`>`, `>=`, `<=`, `<`"
@@ -1342,7 +1342,7 @@ sections:
examples:
- program: '. < 5'
- input: 2
+ input: '2'
output: ['true']
- title: "`and`, `or`, `not`"
@@ -1398,10 +1398,10 @@ sections:
examples:
- program: '.foo // 42'
input: '{"foo": 19}'
- output: [19]
+ output: ['19']
- program: '.foo // 42'
input: '{}'
- output: [42]
+ output: ['42']
- title: Advanced features
body: |