How to add a key value pair into a JSON file with JQ?

Subscribers:
4,120
Published on ● Video Link: https://www.youtube.com/watch?v=kuCl9CU5JV0



Category:
Guide
Duration: 3:05
29 views
0


How to add a key value pair into a JSON file with JQ?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/255545/catx)CaTx |
(unix.stackexchange.com/users/116858/kusalananda)Kusalananda |
(unix.stackexchange.com/users/12574/gilles-qu%c3%a9not)Gilles Quénot |
A special thanks goes out to the (https://unix.stackexchange.com/questions/735757/how-to-add-a-key-value-pair-into-a-json-file-with-jq)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

json jq







Tags:
json
jq