News for hackers. Stuff that matters.
Re:How to Use JSON Path by turadg on Friday May 03, 2024 @03:23PM (#40251302)
Same. 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/2...

There are no comments on this comment yet.