3 ms·
This script drops you into a coffescript REPL with the json loaded into memory under the variable j. I find it nice to be able to loop the data, define new sub
by davidbanham 12y ago
This script drops you into a coffescript REPL with the json loaded into memory under the variable j.
I find it nice to be able to loop the data, define new subsets, filter it with functions, etc.
It was a 10 minute slap-job to get it together, so it does barf on particularly large datasets. The obvious reason is that it serialises the JSON into an argument for a child process. Shouldn't be too hard to resolve if anyone feels like it.
https://github.com/davidbanham/dotfiles/commit/0ea950373604e74f71c44fe99c8758572dc656db https://github.com/davidbanham/dotfiles/commit/0ea950373604e...