mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:06:02 -04:00
Ensure that calls to json.dumps
are compatible with the standard library json. (#7836)
This commit is contained in:
parent
a57df9b827
commit
35450519de
8 changed files with 22 additions and 13 deletions
|
@ -15,12 +15,14 @@
|
|||
# limitations under the License.
|
||||
|
||||
"""Contains exceptions and error codes."""
|
||||
import json
|
||||
|
||||
import logging
|
||||
import typing
|
||||
from http import HTTPStatus
|
||||
from typing import Dict, List, Optional, Union
|
||||
|
||||
from canonicaljson import json
|
||||
|
||||
from twisted.web import http
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue