Opened 3 days ago
Last modified 3 days ago
#36581 assigned Cleanup/optimization
Update serialization examples from XML to JSON
Reported by: | Saksham Jain | Owned by: | Saksham Jain |
---|---|---|---|
Component: | Documentation | Version: | 5.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
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.