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.
1 parent 404f81f commit 590b27cCopy full SHA for 590b27c
setup.py
@@ -17,6 +17,9 @@ def readme():
17
license='GPL2',
18
keywords='telegram bot api tools',
19
install_requires=['requests', 'six'],
20
+ extras_require={
21
+ 'json': 'ujson',
22
+ },
23
classifiers=[
24
'Development Status :: 5 - Production/Stable',
25
'Programming Language :: Python :: 2',
telebot/types.py
@@ -1,6 +1,10 @@
1
# -*- coding: utf-8 -*-
2
3
-import json
+try:
4
+ import ujson as json
5
+except ImportError:
6
+ import json
7
+
8
import six
9
10
from telebot import util
0 commit comments