Skip to content

Commit ea894cd

Browse files
Ryan P KilbyCarlton Gibson
authored andcommitted
Add docstring to json wrapper module
1 parent 215248c commit ea894cd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rest_framework/utils/json.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
"""
2+
Wrapper for the builtin json module that ensures compliance with the JSON spec.
3+
4+
REST framework should always import this wrapper module in order to maintain
5+
spec-compliant encoding/decoding. Support for non-standard features should be
6+
handled by users at the renderer and parser layer.
7+
"""
18

29
from __future__ import absolute_import
310

0 commit comments

Comments
 (0)