mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Switch loader to use json helper (#73872)
This commit is contained in:
@ -7,6 +7,7 @@ from typing import Any, Final
|
||||
import orjson
|
||||
|
||||
JSON_ENCODE_EXCEPTIONS = (TypeError, ValueError)
|
||||
JSON_DECODE_EXCEPTIONS = (orjson.JSONDecodeError,)
|
||||
|
||||
|
||||
class JSONEncoder(json.JSONEncoder):
|
||||
|
Reference in New Issue
Block a user