jq equivalent command for jmespath cheatsheet
I was looking at this and I am wondering if there is something out there that shows the equivalent jq command for jmespath. For example (to get the value of James),
{ "people": [ {"first": "James", "last": "d"}, {"first": "Jacob", "last": "e"}, {"first": "Jayden", "last": "f"}, {"missing": "different"} ], "foo": {"bar": "baz"} } The jmespath query:
people[*].first | [0] And in jq, I have something like this:
.people[] | select(.first == "James") | .first Is there some cheatsheet that shows the equivalent jq command for jmespath? Similar to the above example. Thanks.
---

