【发布时间】:2021-08-02 12:39:52
【问题描述】:
我正在尝试使用 jq 请求输出数据
"{\"@timestamp\":\"2019-03-13T00:11:03.123Y\"
我正在输入:cat myfile.txt | jq fromjson.timestamp
但是不正确
【问题讨论】:
-
你确定这和jQuery有关吗?
-
您的密钥是
@timestamp,而不是timestamp -
是的,在 json 格式中它看起来像“@timestamp”
标签: jq