Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsing field from list #9

Open
petrz007 opened this issue May 31, 2022 · 0 comments
Open

parsing field from list #9

petrz007 opened this issue May 31, 2022 · 0 comments

Comments

@petrz007
Copy link

Running jq directly the following example gives such result:
java -jar jackson-jq-cli-1.0.0-preview.20210928.jar ".values[].displayId"
{"size":4,"limit":25,"isLastPage":true,"values":[{"id":"refs/heads/release/21.3.1","displayId":"release/21.3.1","type":"BRANCH","latestCommit":"cd1be2db485a7518c60f24d792814e89ba924e6d","latestChangeset":"cd1be2db485a7518c60f24d792814e89ba924e6d","isDefault":false},{"id":"refs/heads/release/21.4.1","displayId":"release/21.4.1","type":"BRANCH","latestCommit":"3f2118816aaa48decdccc7e03bdf8a0bb9726545","latestChangeset":"3f2118816aaa48decdccc7e03bdf8a0bb9726545","isDefault":false},{"id":"refs/heads/release/22.1.1","displayId":"release/22.1.1","type":"BRANCH","latestCommit":"3fb98b205cd2fdfe1466c5f535b309ea882d57c0","latestChangeset":"3fb98b205cd2fdfe1466c5f535b309ea882d57c0","isDefault":false},{"id":"refs/heads/release/22.2.1","displayId":"release/22.2.1","type":"BRANCH","latestCommit":"8e49efb0613e433947d228e756c90333086ec518","latestChangeset":"8e49efb0613e433947d228e756c90333086ec518","isDefault":false}],"start":0}

"release/21.3.1"
"release/21.4.1"
"release/22.1.1"
"release/22.2.1"

when running the same with jq-json-logfilter
image

I get only the last value instead of four

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant