From 9dfd9d0c8e93f27ea0268d907ce82709892a4fac Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 6 Oct 2010 12:23:30 -0400 Subject: [PATCH] Rely on built-in JSON. --- tablib/formats/_json.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'