join multiple json strings with jq to json array

前端 未结 0 1630
日久生厌
日久生厌 2020-12-15 23:52

I have a command that outputs multiple simple json objects like this (for development purposes previously piped to a file foo.txt):

$ cat foo.txt         


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