Closed
Description
Hi, I've noticed you use .toJSON()
to convert to JavaScript objects.
JSON is a data serialization format, converting it toJSON
would have been to also call .stringify
on it.
The objects produced by this call are also not always valid JSON or are even encodable/decodable as JSON.
I would recommend renaming .toJSON
. I don't have any particularly good ideas on what to though.
Metadata
Metadata
Assignees
Labels
No labels