##// END OF EJS Templates
release: Bump version 5.1.0 to 5.1.1
release: Bump version 5.1.0 to 5.1.1

File last commit:

r1250:2c57bb5b default
r1269:20bfc127 v5.1.1 stable
Show More
ext_json.py
14 lines | 294 B | text/x-python | PythonLexer
import json as stdlib_json
try:
# we keep simplejson for having dump functionality still
# orjson doesn't support it
import simplejson as sjson
except ImportError:
sjson = stdlib_json
try:
import orjson
import orjson as json
except ImportError:
json = stdlib_json