📜  使 JSON 可以 grep(来源:https:github.com tomnomnom gron)- 任何代码示例

📅  最后修改于: 2022-03-11 14:58:59.853000             🧑  作者: Mango

代码示例1
▶ curl -s http://headers.jsontest.com/ | gron
json = {};
json.Accept = "*/*";
json.Host = "headers.jsontest.com";
json["User-Agent"] = "curl/7.43.0";
json["X-Cloud-Trace-Context"] = "c70f7bf26661c67d0b9f2cde6f295319/13941186890243645147";