You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.[] is equivalent as . | .map so probably doable with a workaround. If .[] isn't working as expected, can you give me an example? If it doesn't work it might be a bug.
Regarding your question about the "liveness" of this project:
I'm not entirely sure what's death or alive, works great for my usage and isn't complete. You can use it if you want, you can submit a PR/issues and will get merged/fixed.
davesnx
changed the title
misleading documentation regarding .[].[] doesn't work as expected
Jan 29, 2023
@davesnx - Thanks for your response. The two examples I gave in my initial post show the two queries of interest together with the actual output produced by jq, which is of course in each case also the correct/expected output.
Regarding .map:
query-json '.map' <<< [1,2,3]
produces: [1, 2, 3]
which has nothing to do with the expected output from .[].
Please also note that your response does not address the second issue regarding .[E] when E is a stream.
The README indicates that .[] has been implemented, but the following queries both fail using query-json (version 0.5.20):
p.s. Is this project still alive?
The text was updated successfully, but these errors were encountered: