Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/allisson/django-rest-framework-rapidjson

Provides rapidjson support with parser and renderer
https://github.com/allisson/django-rest-framework-rapidjson

Last synced: about 1 month ago
JSON representation

Provides rapidjson support with parser and renderer

Awesome Lists containing this project

README

        

djangorestframework-rapidjson
=============================

Provides `rapidjson `_
support with parser and renderer.

.. image:: https://github.com/allisson/django-rest-framework-rapidjson/workflows/tests/badge.svg
:target: https://github.com/allisson/django-rest-framework-rapidjson/actions

.. image:: https://img.shields.io/pypi/v/djangorestframework-rapidjson.svg
:target: https://pypi.python.org/pypi/djangorestframework-rapidjson
:alt: Latest Version

.. image:: https://img.shields.io/pypi/pyversions/djangorestframework-rapidjson.svg
:target: https://pypi.python.org/pypi/djangorestframework-rapidjson
:alt: Supported Python versions

How to install
--------------

.. code:: shell

pip install djangorestframework-rapidjson

How to use
----------

Update django rest framework config

.. code:: python

REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': (
'rest_framework_rapidjson.renderers.RapidJSONRenderer',
),
'DEFAULT_PARSER_CLASSES': (
'rest_framework_rapidjson.parsers.RapidJSONParser',
)
}