Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 24 days ago
JSON representation
Provides rapidjson support with parser and renderer
- Host: GitHub
- URL: https://github.com/allisson/django-rest-framework-rapidjson
- Owner: allisson
- License: mit
- Created: 2017-11-01T00:21:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-07T16:42:17.000Z (about 1 year ago)
- Last Synced: 2024-11-11T13:11:48.129Z (about 1 month ago)
- Language: Python
- Size: 23.4 KB
- Stars: 17
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - django-rest-framework-rapidjson - Provides rapidjson support with parser and renderer (Python)
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 versionsHow 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',
)
}