diff options
author | Rune Halvorsen <runefh@gmail.com> | 2010-04-15 10:06:27 +0200 |
---|---|---|
committer | Rune Halvorsen <runefh@gmail.com> | 2010-04-15 10:06:27 +0200 |
commit | d542ec875aa4b6498418f32898c3849190f14923 (patch) | |
tree | b20354884f67cbeff1ad9d0b9dcfc34ee4112797 | |
parent | 55a5dd40e9f259053aae73c8b5fc761afe71be36 (diff) | |
download | anyjson-d542ec875aa4b6498418f32898c3849190f14923.tar.gz |
Biased cjson in front of yajl. Seems slightly faster in most tests.
-rw-r--r-- | anyjson/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/anyjson/__init__.py b/anyjson/__init__.py index d9423d3..46a0d0a 100644 --- a/anyjson/__init__.py +++ b/anyjson/__init__.py @@ -35,8 +35,8 @@ implementation = None methods, as well as the exception they throw. Exception can be either an exception class or a string. """ -_modules = [("yajl", "dumps", TypeError, "loads", ValueError), - ("cjson", "encode", "EncodeError", "decode", "DecodeError"), +_modules = [("cjson", "encode", "EncodeError", "decode", "DecodeError"), + ("yajl", "dumps", TypeError, "loads", ValueError), ("jsonlib2", "write", "WriteError", "read", "ReadError"), ("jsonlib", "write", "WriteError", "read", "ReadError"), ("simplejson", "dumps", TypeError, "loads", ValueError), |