rest_framework.utils.encoders

Helper classes for parsers.

Module Contents

class JSONEncoder

Bases:json.JSONEncoder

JSONEncoder subclass that knows how to encode date/time/timedelta, decimal types, generators and other basic python objects.

default(self, obj)