Also add 'null' as a possible JSON value

pull/14293/head
Dag Wieers 9 years ago
parent dc48d27dd2
commit 2e171610e0

@ -45,6 +45,7 @@ def safe_eval(expr, locals={}, include_exceptions=False):
# eg. JSON booleans are unknown to python eval()
JSON_TYPES = {
'false': False,
'null': None,
'true': True,
}

Loading…
Cancel
Save