Version: | 1.0.1 |
---|---|
Author: | Juan Riaza |
MessagePack is a fast, compact binary serialization format, suitable for similar data to JSON. This package provides MessagePack support for Django REST framework.
Install using pip
:
$ pip install djangorestframework-msgpack
...or clone the project from github:
$ git clone [email protected]:juanriaza/django-rest-framework-msgpack.git
$ cd django-rest-framework-msgpack
$ pip install -r requirements.txt
This package provides a renderer MessagePackRenderer
and a parser MessagePackParser
.
Just follow the documentation:
Renders the request data into MessagePack
.
.media_type: | application/msgpack |
---|---|
.format: | .msgpack |
Parses MessagePack
request content.
.media_type: | application/msgpack |
---|
To run the tests against the current environment:
./manage.py test
15th Jan 2012
- The parser now support streams (by Sébastien Béal)
6th Jan 2012
- Initial release