#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]):
You are mistaken about the return type of serialize, it is a string, which
makes building up a bigger structure and using dumps() not as nice as you
suggest. If it returned dictionaries I agree with you that it would have
been simple. As it stands now I'm contemplating a really ugly hack with
string replacing :/
I don't really think we're talking about adding syntax here, just changing
the existing to follow the principle of least surprise.
--
Ticket URL: <http://code.djangoproject.com/ticket/3564#comment:5>
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
-~----------~----~----~----~------~----~------~--~---