Issue #154 new

JSON serialization fails while XML does fine

Anonymous created an issue

Error:

o = _default(o) File "/home/pyt/django12/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/core/serializers/json.py", line 61, in default

return super(DjangoJSONEncoder, self).default(o) File "/usr/share/pyshared/simplejson/encoder.py", line 190, in default

raise TypeError(repr(o) + " is not JSON serializable")

TypeError: <django.utils.functional.proxy object at 0x1a51e90> is not JSON serializable

This happens only when using JSON emitter. XML works nice.

Comments (0)

  1. Log in to comment