CypherX

7,019
reputation
3
25
37

Some Useful Stuff

Current SO user's profile

Here is a list of some useful stuff I found and often use.

1. Parsing JSON file with comments

import json
from jsmin import jsmin

with open('parameters.jsonc') as js_file:
    minified = jsmin(js_file.read())
parameters  = json.loads(minified)