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 |
from json import dumps |
||||
|
|
||||
try: |
try: |
||||
from rapidjson import loads |
from rapidjson import loads |
||||
except ImportError: |
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 |
from json import loads |
||||
|
|
||||
__all__ = ['dumps', 'loads'] |
__all__ = ['dumps', 'loads'] |
||||
|
Loading…
Reference in new issue