Opened 3 weeks ago

Closed 4 days ago

Last modified 4 days ago

#36581 closed Cleanup/optimization (fixed)

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: Ready for checkin
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.

Change History (7)

comment:1 by Tim Graham, 3 weeks ago

Triage Stage: UnreviewedAccepted

comment:2 by Clifford Gama, 2 weeks ago

Patch needs improvement: set

comment:3 by Clifford Gama, 7 days ago

Triage Stage: AcceptedReady for checkin

comment:4 by Clifford Gama, 7 days ago

Patch needs improvement: unset

comment:5 by Sarah Boyce <42296566+sarahboyce@…>, 4 days ago

Resolution: fixed
Status: assignedclosed

In 762d3be:

Fixed #36581 -- Updated serialization examples from XML to JSON.

comment:6 by Sarah Boyce <42296566+sarahboyce@…>, 4 days ago

In 16bc8de:

[6.0.x] Fixed #36581 -- Updated serialization examples from XML to JSON.

Backport of 762d3be8c559b0abf415be8d6117f04fb6347983 from main.

comment:7 by Sarah Boyce <42296566+sarahboyce@…>, 4 days ago

In 7554c54e:

[5.2.x] Fixed #36581 -- Updated serialization examples from XML to JSON.

Backport of 762d3be8c559b0abf415be8d6117f04fb6347983 from main.

Note: See TracTickets for help on using tickets.
Back to Top