diff --git a/ghetto_json b/ghetto_json index 60d8542..105d604 100755 --- a/ghetto_json +++ b/ghetto_json @@ -3,6 +3,7 @@ import json import sys import shlex +import re try: import commentjson @@ -18,7 +19,9 @@ def main(params_list): with open(path) as f: obj = json_load(f) for (key, target) in params.items(): - parts = key.split('.') + parts = re.split(r'(?