13 changed files with 45 additions and 28 deletions
@ -1,11 +1,11 @@ |
|||
from __future__ import absolute_import |
|||
from __future__ import absolute_import, print_function |
|||
|
|||
from json import dumps |
|||
|
|||
try: |
|||
from rapidjson import loads |
|||
except ImportError: |
|||
print '[WARNING] rapidjson not installed, falling back to default Python JSON parser' |
|||
print('[WARNING] rapidjson not installed, falling back to default Python JSON parser') |
|||
from json import loads |
|||
|
|||
__all__ = ['dumps', 'loads'] |
|||
|
Loading…
Reference in new issue