"Nothing
type not JSON serializable" errors occurring when fetching list data from /seeds.json
#5415
Labels
Lead: @jimchamp
Issues overseen by Jim (Front-end Lead, BookNotes) [managed]
Priority: 3
Issues that we can consider at our leisure. [managed]
Type: Bug
Something isn't working. [managed]
When a list containing Infogami's
Nothing
type is fetched using/seeds.json
, a TypeError is thrown becauseNothing
is not JSON serializable.Evidence / Screenshot (if possible)
Relevant url?
https://openlibrary.org/people/tmanarl/lists/OL197952L/seeds.json?debug=true
Steps to Reproduce
Details
Proposal & Constraints
helpers.py
contains ajson_encode
function that serializesNothing
types. This can be used instead of the vanilla JSON encoder.Related files
Stakeholders
@libjenner
The text was updated successfully, but these errors were encountered: