Does it use jq internally?
Why not?
11–20 of 55 posts
Does it use jq internally?
Why not?
The JSON crowd is re-inventing LISP. Originally, JSON was a subset of what you could pass to "eval()". Yesterday, state machine programming in JSON. Today, an inspector.
I personally like digging in a ruby console, e.g.: require 'json' require 'open-uri' data = JSON.load(open("https://api.github.com/users/Dorian")) data.keys data.first data["public_repos"] etc.
You personally like to suffer. I used to do that in Python, but it is a pain. jq is great for these things, and jid seems to be also.
I personally like digging in a ruby console, e.g.: require 'json' require 'open-uri' data = JSON.load(open("https://api.github.com/users/Dorian")) data.keys data.first data["public_repos"] etc.
You personally like to suffer. I used to do that in Python, but it is a pain. jq is great for these things, and jid seems to be also.
Earlier quoted context omitted.
You personally like to suffer. I used to do that in Python, but it is a pain. jq is great for these things, and jid seems to be also.
How would you do a `data.keys.sort` with jq? Here I don't have to learn a new programming language or hack around with UNIX pipes ;)
The JSON crowd is re-inventing LISP. Originally, JSON was a subset of what you could pass to "eval()". Yesterday, state machine programming in JSON. Today, an inspector.
Do you think that is bad? Many people like LISP.
Earlier quoted context omitted.
You personally like to suffer. I used to do that in Python, but it is a pain. jq is great for these things, and jid seems to be also.
How would you do a `data.keys.sort` with jq? Here I don't have to learn a new programming language or hack around with UNIX pipes ;)
It's true it's a new lang, and although simple, I often have to look things up.
It might be nice to have a jq REPL, so needn't quote, and easier to keep state around.