Let's suppose we have a following 1.json:
{
name: 'abcd',
age: 30,
address: 'abc'
}
To change a single item of the JSON:
jq '.address = "abcde"' 1.json > 1_modified.json
To change multiple items:
jq '.age = 20 | .address = "abcde"' 1.json > 1_modified.json