mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -04:00
Reduce unnecessary whitespace in JSON. (#7372)
This commit is contained in:
parent
2ffd6783c7
commit
4dd27e6d11
15 changed files with 56 additions and 53 deletions
|
@ -18,11 +18,12 @@ The VALID_SERVER_COMMANDS and VALID_CLIENT_COMMANDS define which commands are
|
|||
allowed to be sent by which side.
|
||||
"""
|
||||
import abc
|
||||
import json
|
||||
import logging
|
||||
from typing import Tuple, Type
|
||||
|
||||
_json_encoder = json.JSONEncoder()
|
||||
from canonicaljson import json
|
||||
|
||||
from synapse.util import json_encoder as _json_encoder
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue