Inverse json import logic (#88099)

* Fix helpers and util

* Adjust components

* Move back errors

* Add report

* mypy

* mypy

* Assert deprecation messages

* Move test_json_loads_object

* Adjust tests

* Fix rebase

* Adjust pylint plugin

* Fix plugin

* Adjust references

* Adjust backup tests
This commit is contained in:
epenet 2023-02-16 11:37:57 +01:00 committed by GitHub
parent 580869a9a6
commit ba23816a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 291 additions and 197 deletions

View file

@ -20,11 +20,12 @@ import voluptuous as vol
from homeassistant import exceptions
from homeassistant.const import CONTENT_TYPE_JSON
from homeassistant.core import Context, is_callback
from homeassistant.helpers.json import JSON_ENCODE_EXCEPTIONS, json_bytes, json_dumps
from homeassistant.util.json import (
from homeassistant.helpers.json import (
find_paths_unserializable_data,
format_unserializable_data,
json_bytes,
json_dumps,
)
from homeassistant.util.json import JSON_ENCODE_EXCEPTIONS, format_unserializable_data
from .const import KEY_AUTHENTICATED, KEY_HASS