Comments (2)
Hi @ink-splatters. This is not a bug, jql
use a different grammar and doesn't aim at being a clone of jq
. It's basically opinionated in its own way :).
To achieve the same query, this is what you need to do:
jql '"items"|"id"' bitwarden.json
Basically it's something like select node items
and use a filter to get the id node
(this filter is applied on each element of the selected array).
If you have any further question, feel free to comment here.
Closing as it's the intended behavior.
from jql.
@yamafaktory thanks for the explanation!
from jql.
Related Issues (20)
- Make `clap` an optional dependency when using jql as a library HOT 3
- Flattened/Minified json file cannot be parsed HOT 7
- Proposal: pre-compile selectors HOT 4
- index out of bounds panic in array_walker HOT 1
- Feature request: Make async-std an optional dependency
- Conditional filters HOT 14
- Sort keys of objects HOT 9
- Add binaries to releases HOT 4
- Syntax: Is it necessary to have quotes and dots as delimiters? HOT 2
- Cannot select or filter on lens-produced arrays HOT 4
- lens conjunction doesn't work HOT 1
- lens conjunction doesn't work
- Windows release artifact always fails to upload HOT 2
- jql 6.0.3 test failure HOT 5
- Migration guide for library users? HOT 3
- Windows release artifacts fail to upload since v5.1.3 HOT 2
- Evaluate Profile-Guided Optimization (PGO) and LLVM BOLT HOT 5
- tried using jql HOT 3
- Option for validation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jql.