We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ujson
1 parent 433c6a6 commit 245da20Copy full SHA for 245da20
pylsp/python_lsp.py
@@ -9,7 +9,11 @@
9
from functools import partial
10
from typing import Any, Dict, List
11
12
-import ujson as json
+try:
13
+ import ujson as json
14
+except Exception:
15
+ import json
16
+
17
from pylsp_jsonrpc.dispatchers import MethodDispatcher
18
from pylsp_jsonrpc.endpoint import Endpoint
19
from pylsp_jsonrpc.streams import JsonRpcStreamReader, JsonRpcStreamWriter
0 commit comments