From a09b9fc089cada6172f9401ba4eaf48f89452c67 Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@suren.me>
Date: Wed, 28 Feb 2018 23:44:45 +0100
Subject: Don't parse numbers

---
 ghetto_json | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

(limited to 'ghetto_json')

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
-- 
cgit v1.2.3