我有一个 JSON 数据,如 data.JSON 文件中所示
[
{"original_name":"pdf_convert","changed_name":"pdf_convert_1"},
{"original_name":"video_encode","changed_name":"video_encode_1"},
{"original_name":"video_transcode","changed_name":"video_transcode_1"}
]
我想循环遍历数组并提取循环中每个元素的值。我看了 JQ。我发现很难用它来迭代。我该怎么做?