Użyj JQ, aby zaktualizować plik JSON

echo "$( jq '.address = "abcde"' test.json )" > test.json
Gifted Gorilla