Skip to content

Instantly share code, notes, and snippets.

@kaz-tk
Created December 27, 2014 15:12
Show Gist options
  • Save kaz-tk/2fd6bc8d0383c199241a to your computer and use it in GitHub Desktop.
Save kaz-tk/2fd6bc8d0383c199241a to your computer and use it in GitHub Desktop.
$ cat test.json
{
"name1":"aaa",
"name1":"bbb",
"name2":"aaa",
"name3":"aaa",
"name4":"aaa"
}
$ python -m json.tool ./test.json
{
"name1": "bbb",
"name2": "aaa",
"name3": "aaa",
"name4": "aaa"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment