Files
2024-01-11 15:10:51 +03:00

11 lines
292 B
Python

"""JSON utils."""
try:
# Could be removed after 2022.06 is the min version
# But in case Home Assistant changes, keep this try/except here...
from homeassistant.helpers.json import json_loads
except ImportError:
from json import loads as json_loads
__all__ = ["json_loads"]