Adding a number to a JSON array using jq?

后端 未结 0 1289
终归单人心
终归单人心 2021-02-09 00:22

I\'ve got the following JSON:

{
  [
    1,
    2,
    3
  ]
}

I want to add some numbers to it, for which I\'m using:

new=$(echo &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题