#3564: flexible JSON serializing mechanism
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jacob
Status: new | Component: Serialization
Version: SVN | Resolution:
Keywords: | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------+----------------------------------------
Comment (by [EMAIL PROTECTED]):
The problem is "solved" by the following code: {{{return
HttpResponse(dumps({'year':year, 'month':month, 'events':'<replace>'},
ensure_ascii=False).replace('"<replace>"', json), mimetype="text/json;
charset=UTF-8")}}} Note the extra quotation marks in the replace call..
this is not on par with the rest of Django in maintainability :P
--
Ticket URL: <http://code.djangoproject.com/ticket/3564#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---