summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkoppstein <pkoppstein@gmail.com>2023-07-06 00:11:16 -0400
committerNico Williams <nico@cryptonector.com>2023-07-05 23:48:31 -0500
commitc68ad08805a7427f52644c7a9e499e4b4af86b3f (patch)
tree5843b46d85a301bcd0823fbfefd50235831a6f0d
parent37225a9a0731e2a41183fab2b927671cbcdb6629 (diff)
manual.yml: pick(pathexps)
Change formal parameter name
-rw-r--r--docs/content/manual/manual.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml
index 396b7643..d7cceadd 100644
--- a/docs/content/manual/manual.yml
+++ b/docs/content/manual/manual.yml
@@ -925,12 +925,12 @@ sections:
input: '{"a": 1, "b": 2, "c": 3}'
output: ['{"a": 2, "b": 3, "c": 4}']
- - title: "`pick(stream)`"
+ - title: "`pick(pathexps)`"
body: |
- Emit the projection of the input object or array defined by the specified stream of
- dot-path specifications, such that if p is one of these specifications,
- and `(. | p)` evaluates to $x, then `pick(stream) | p` will also be $x.
+ Emit the projection of the input object or array defined by the specified
+ sequence of path expressions, such that if p is any one of these specifications,
+ then `(. | p)` will evaluate to the same value as `(. | pick(pathexps) | p)`.
For arrays, negative indices and .[m:n] specifications should not be used.
examples: