Fix examples for del in manual
This commit is contained in:
1 parent
1d620c0de3
commit
ecac7bd3a1
1 file changed
+2
-2
@@ -658,10 +658,10 @@ sections:
|
||||
|
||||
examples:
|
||||
- program: 'del(.foo)'
|
||||
input: '[{"foo": 42, "bar": 9001, "baz": 42}]'
|
||||
input: '{"foo": 42, "bar": 9001, "baz": 42}'
|
||||
output: ['{"bar": 9001, "baz": 42}']
|
||||
- program: 'del(.[1, 2])'
|
||||
input: '[["foo", "bar", "baz"]]'
|
||||
input: '["foo", "bar", "baz"]'
|
||||
output: ['["foo"]']
|
||||
|
||||
- title: "`to_entries`, `from_entries`, `with_entries`"
|
||||
|
||||
Reference in new issue
Block a user