rest_framework.utils.json

Wrapper for the builtin json module that ensures compliance with the JSON spec.

REST framework should always import this wrapper module in order to maintain spec-compliant encoding/decoding. Support for non-standard features should be handled by users at the renderer and parser layer.

Module Contents

strict_constant(o)
dump(*args, **kwargs)
dumps(*args, **kwargs)
load(*args, **kwargs)
loads(*args, **kwargs)