4 ms·
There's nothing in jq you can't do with any programming language with a JSON parser and serializer implemented. But I find jq more pleasant than most for lots
by dragonwriter 6y ago
There's nothing in jq you can't do with any programming language with a JSON parser and serializer implemented.
But I find jq more pleasant than most for lots of JSON-to-JSON transformations, and Powershell worse than not only jq but also Node or Python for that task.
- jolux 6y agoIt’s a one-liner in PowerShell to grab JSON from an endpoint and deserialize it.
- dragonwriter 6y ago> It’s a one-liner in PowerShell to grab JSON from an endpoint and deserialize it. Yes, and that’s great. I don't prefer jq for downloading JSON (which it doesn't do), but, as I said, for JSON-to-JSON transformations.)
- jolux 6y agoThat’s fair, it probably makes more sense for that usecase than PS. It just feels like yet another DSL to learn