mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Also add 'null' as a possible JSON value
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user