| ▲ | kerblang 5 hours ago | |
I made a silly groovy script called "mommyjson" that doesn't try to preserve JSON formatting but just focuses on giving you the parentage (thus the name) including array indexes, object names, etc., all on the same line, so that when you find something, you know exactly where it is semantically. Not gonna claim that everybody should use it or that it cures insomnia cancer & hangnails, but feel free to borrow it: https://github.com/zaboople/bin/blob/master/mommyjson.groovy (btw I would happily upvote a python port, since groovy is not so popular) | ||
| ▲ | asa400 4 hours ago | parent | next [-] | |
This is good! There are a number of these, so it seems like it's definitely somthing people want. The most popular of which I think is gron[0]. My own is jstream[1]. One tiny point of friendly feedback: you may want to consider adding an example usage/output so folks can see what it does literally. [0] - https://github.com/tomnomnom/gron [1] - https://github.com/ckampfe/jstream | ||
| ▲ | croisillon 4 hours ago | parent | prev [-] | |
do you have an ouput example? | ||