{"action":"closed","issue":{"url":"https://api.github.com/repos/stedolan/jq/issues/497","labels_url":"https://api.github.com/repos/stedolan/jq/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/stedolan/jq/issues/497/comments","events_url":"https://api.github.com/repos/stedolan/jq/issues/497/events","html_url":"https://github.com/stedolan/jq/issues/497","id":38391611,"number":497,"title":"tojson usage","user":{"login":"finaljon","id":8234567,"avatar_url":"https://avatars.githubusercontent.com/u/8234567?v=3","gravatar_id":"","url":"https://api.github.com/users/finaljon","html_url":"https://github.com/finaljon","followers_url":"https://api.github.com/users/finaljon/followers","following_url":"https://api.github.com/users/finaljon/following{/other_user}","gists_url":"https://api.github.com/users/finaljon/gists{/gist_id}","starred_url":"https://api.github.com/users/finaljon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finaljon/subscriptions","organizations_url":"https://api.github.com/users/finaljon/orgs","repos_url":"https://api.github.com/users/finaljon/repos","events_url":"https://api.github.com/users/finaljon/events{/privacy}","received_events_url":"https://api.github.com/users/finaljon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stedolan/jq/labels/query","name":"query","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-07-22T11:36:47Z","updated_at":"2015-07-25T17:35:51Z","closed_at":"2015-07-25T17:35:51Z","body":"Hi,\r\n\r\nI'm using json for a while and wonder how to update values into a json file using jq. I saw a tojson option but how does it works?\r\nI have multiple objects into my json files containing sometimes the same name, value. It's not easy to deal that using sed/awk to update json files.\r\nThanks for your help.\r\n\r\nAnyway thanks a lot for your work, it's a wonderfull tool you made!"}}