[Django] #36581: Update serialization examples from XML to JSON

4 views
Skip to first unread message

Django

unread,
Aug 29, 2025, 5:06:37 AM (12 days ago) Aug 29
to django-...@googlegroups.com
#36581: Update serialization examples from XML to JSON
-------------------------------------+-------------------------------------
Reporter: Saksham | Owner: Saksham Jain
Jain |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: 5.2
Documentation |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Most of the serialization documentation currently demonstrates usage with
the XML serializer. This made sense historically, when XML was the common
format for data exchange. However, JSON has since become the de facto
standard for serialization in modern Django projects.

To reflect current best practices and developer expectations, the
documentation should be updated to show examples using `json` instead of
`xml`. This change would make the examples more relevant and immediately
usable, while still acknowledging that XML remains supported.
--
Ticket URL: <https://code.djangoproject.com/ticket/36581>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 29, 2025, 5:59:37 AM (12 days ago) Aug 29
to django-...@googlegroups.com
#36581: Update serialization examples from XML to JSON
-------------------------------------+-------------------------------------
Reporter: Saksham Jain | Owner: Saksham
Type: | Jain
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/36581#comment:1>

Django

unread,
Sep 6, 2025, 4:42:42 AM (4 days ago) Sep 6
to django-...@googlegroups.com
#36581: Update serialization examples from XML to JSON
-------------------------------------+-------------------------------------
Reporter: Saksham Jain | Owner: Saksham
Type: | Jain
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36581#comment:2>
Reply all
Reply to author
Forward
0 new messages