JSON
Django REST Pandas’ JSON renderer class provides application/json
support by calling to_json()
on the DataFrame instance. date_format
and orient
can be provided in URL (e.g. /path.json?orient=columns
)
Note that in most cases, DRP’s CSV renderer is preferred to the JSON renderer due to the compactness a CSV representation provides.