summaryrefslogtreecommitdiffstats
path: root/ghetto_json
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-28 23:44:45 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-28 23:44:45 +0100
commita09b9fc089cada6172f9401ba4eaf48f89452c67 (patch)
treeb420ee0ee56beea79984e9c488477e5a4ba971c1 /ghetto_json
parent0021ba710d7b12f52353e161402377cb5f336e72 (diff)
downloadghetto-json-ands.tar.gz
ghetto-json-ands.tar.bz2
ghetto-json-ands.tar.xz
ghetto-json-ands.zip
Don't parse numbersands
Diffstat (limited to 'ghetto_json')
-rwxr-xr-xghetto_json16
1 files changed, 8 insertions, 8 deletions
diff --git a/ghetto_json b/ghetto_json
index ebc3d51..ef936b9 100755
--- a/ghetto_json
+++ b/ghetto_json
@@ -35,14 +35,14 @@ def main(params_list):
del ref[last_part]
changed = True
else:
- if target.isdigit():
- target = int(target)
- if target == 'null':
- target = None
- if target == 'false':
- target = False
- if target == 'true':
- target = True
+# if target.isdigit():
+# target = int(target)
+# if target == 'null':
+# target = None
+# if target == 'false':
+# target = False
+# if target == 'true':
+# target = True
if last_part not in ref or ref[last_part] != target:
ref[last_part] = target
changed = True