1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Update website

This commit is contained in:
github-actions[bot]
2023-07-09 15:54:45 +00:00
parent 9e76d629bc
commit 753a639fa1
3 changed files with 9 additions and 9 deletions

View File

@@ -2541,8 +2541,8 @@ values.</p>
<p><code>paths</code> outputs the paths to all the elements in its input
(except it does not output the empty list, representing .
itself).</p>
<p><code>paths(f)</code> outputs the paths to any values for which <code>f</code> is true.
That is, <code>paths(numbers)</code> outputs the paths to all numeric
<p><code>paths(f)</code> outputs the paths to any values for which <code>f</code> is <code>true</code>.
That is, <code>paths(type == "number")</code> outputs the paths to all numeric
values.</p>
@@ -2569,7 +2569,7 @@ values.</p>
</table>
<table>
<tr><th></th><td class="jqprogram">jq '[paths(scalars)]'</td></tr>
<tr><th></th><td class="jqprogram">jq '[paths(type == &#34;number&#34;)]'</td></tr>
<tr><th>Input</th><td>[1,[[],{&#34;a&#34;:2}]]</td></tr>