5 ms·
I am kind of surprised that they don't mention jq at all, it seems like a similar tool that is fairly wide spread.
by Powdering7082 2y ago
I am kind of surprised that they don't mention jq at all, it seems like a similar tool that is fairly wide spread.
- riquito 2y agoWell, the article is about JSONPath and jq doesn't use it
- turadg 2y agoSame. I was curious what the differences are. JSONPath can only pull data out, like XPath. jq can do much more, like perform transformations. jq is also more concise: .book[0].title versus JSONPath: $..book[0].title Here's a discussion with more comparisons: https://github.com/serverlessworkflow/specification/issues/216 https://github.com/serverlessworkflow/specification/issues/2...
- philstu 2y agojq is wonderful but not relevant to the discussion. This is about using JSONPath for OpenAPI Overlays and automated API Style Guides like Spectral. You cannot use jq for either of those things. Notbing against jq, just a different discussion.