#37164: Support jsonl Deserializer subclasses' _get_lines methods
-------------------------------------+-------------------------------------
Reporter: Adam | Owner: Adam Johnson
Johnson |
Type: | Status: assigned
Cleanup/optimization |
Component: Core | Version: dev
(Serialization) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The jsonl `Deserializer` class calls `Deserializer._get_lines()` directly,
rather than via `self`, preventing subclasses from overriding this methods
(for example, to use an alternative JSON library). This has been the case
since ee5147cfd7de2add74a285537a8968ec074e70cd. Let's change it to use
`self`.
--
Ticket URL: <
https://code.djangoproject.com/ticket/37164>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.