#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.