# python test.py
Traceback (most recent call last):
File "test.py", line 7, in <module>
print(jsonpath_expr.update(json_document, "--"))
File "/opt/splunk/etc/apps/TA-json_redact/lib/jsonpath_ng/jsonpath.py", line 261, in update
self.right.update(datum.value, val)
File "/opt/splunk/etc/apps/TA-json_redact/lib/jsonpath_ng/jsonpath.py", line 526, in update
if field in data:
TypeError: argument of type 'NoneType' is not iterable
Steps to reproduce:
Expected
Observed