mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Also add 'null' as a possible JSON value
This commit is contained in:
parent
dc48d27dd2
commit
2e171610e0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue