Commits

Anonymous committed 07388e9

added "yajl" module to anyjson & tests.

Comments (0)

Files changed (2)

     methods, as well as the exception they throw. Exception can be either
     an exception class or a string.
 """
-_modules = [("cjson", "encode", "EncodeError", "decode", "DecodeError"),
+_modules = [("yajl", "dumps", TypeError, "loads", ValueError),
+            ("cjson", "encode", "EncodeError", "decode", "DecodeError"),
             ("jsonlib2", "write", "WriteError", "read", "ReadError"),
             ("jsonlib", "write", "WriteError", "read", "ReadError"),
             ("simplejson", "dumps", TypeError, "loads", ValueError),
 
 modules = [("json", "loads"),
            ("simplejson", "loads"),
+           ("yajl", "loads"),
            ("cjson", "decode"),
            ("django.utils.simplejson", "loads"),
            ("jsonpickle", "decode"),