diff options
Diffstat (limited to 'tablib/formats/_json.py')
| -rw-r--r-- | tablib/formats/_json.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tablib/formats/_json.py b/tablib/formats/_json.py index f7c88ee..fbc3758 100644 --- a/tablib/formats/_json.py +++ b/tablib/formats/_json.py @@ -3,7 +3,11 @@ """ Tablib - JSON Support """ -import simplejson as json +try: + import json +except ImportError: + import simplejson as json + import tablib.core title = 'json' |
