Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jq add variable

Use jq to add or modify a key value pair in a file (test.json):
jq '.Modality="MR_New"' test.json
 
PREVIOUS NEXT
Tagged: #jq #add #variable
ADD COMMENT
Topic
Name
1+9 =