Refactor json helper and utility
· One min read
As of Home Assistant Core 2023.3, some constants and functions have been moved
between homeassistant.helpers.json
and homeassistant.util.json
:
save_json
andfind_paths_unserializable_data
functions should now be imported fromhomeassistant.helpers.json
json_loads
function should now be imported fromhomeassistant.util.json
JSON_ENCODE_EXCEPTIONS
andJSON_DECODE_EXCEPTIONS
constants should now be imported fromhomeassistant.util.json