mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-22 07:20:39 -04:00
Directly import json from the standard library. (#8259)
By importing from canonicaljson the simplejson module was still being used in some situations. After this change the std lib json is consistenty used throughout Synapse.
This commit is contained in:
parent
cef00211c8
commit
72bec36d50
5 changed files with 7 additions and 6 deletions
|
@ -15,10 +15,10 @@
|
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
import json
|
||||
from typing import List
|
||||
|
||||
import jsonschema
|
||||
from canonicaljson import json
|
||||
from jsonschema import FormatChecker
|
||||
|
||||
from synapse.api.constants import EventContentFields
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue