3 ms·
related project, gron: https://github.com/tomnomnom/gron https://github.com/tomnomnom/gron ▶ gron "https://api.github.com/repos/tomnomnom/gron/commits?per_
by llimllib 3y ago
related project, gron: https://github.com/tomnomnom/gron https://github.com/tomnomnom/gron
▶ gron "https://api.github.com/repos/tomnomnom/gron/commits?per_page=1" | fgrep "commit.author"
json[0].commit.author = {};
json[0].commit.author.date = "2016-07-02T10:51:21Z";
json[0].commit.author.email = "mail@tomnomnom.com";
json[0].commit.author.name = "Tom Hudson";
- deleted 3y ago[deleted]
- wewtyflakes 3y agoLooks neat, but what happens if a JSON key has a value like "foo.bar" or "foo[0]", etc. Does the textual response escape them?
- matja 3y agoYes: json = {}; json["foo.bar"] = true; json["foo[0]"] = true;