Open minusf opened 6 years ago
would it not be possible to use DjangoJSONEncoder instead of standardjson?
DjangoJSONEncoder
standardjson
class DjangoJSONEncoder(json.JSONEncoder): """ JSONEncoder subclass that knows how to encode date/time, decimal types, and UUIDs. """
Thanks for the suggestion -- I was recommended standardjson years ago, but I would definitely prefer having one less dependency, so I'll take a look.
See https://github.com/audreyr/standardjson/issues/3
would it not be possible to use
DjangoJSONEncoder
instead ofstandardjson
?