aboutsummaryrefslogtreecommitdiffstats
path: root/tools/json2hash
diff options
context:
space:
mode:
Diffstat (limited to 'tools/json2hash')
-rwxr-xr-xtools/json2hash2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/json2hash b/tools/json2hash
index 0accbcd..8dbe9ae 100755
--- a/tools/json2hash
+++ b/tools/json2hash
@@ -37,6 +37,8 @@ class Processor(object):
self._print(v)
self.out.write('\n')
self.out.write(')\n')
+ elif _type is bool:
+ self.out.write('t' if data else 'nil')
elif (_type is str or _type is unicode):
self.out.write(pystr2elstrexp(data))
else: # number ?