diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-03-16 13:17:47 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-03-16 13:30:29 +0000 |
| commit | 7a2648dfe150f532d1690fa8fbaf588789afaa84 (patch) | |
| tree | d299bf6fc98e86b841c2cce769b996f5abe1ab3e /jq.pyx | |
| parent | 125196c17a00311ce132148369982795e2d229ce (diff) | |
Handle null bytes in object keys
Diffstat (limited to 'jq.pyx')
| -rw-r--r-- | jq.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ cdef object _jv_to_python(jv value): property_key = jv_object_iter_key(value, idx) property_value = jv_object_iter_value(value, idx) try: - python_value[jv_string_value(property_key).decode("utf-8")] = \ + python_value[jv_string_to_py_string(property_key)] = \ _jv_to_python(property_value) finally: jv_free(property_key) |
