title: Compress JSON payload in Django for both request from client and response from server (REST API).
body: <p>I am wondering if there's a way to compress the JSON payload I have to send every time with many repetitive field names. While <a href="https://stackoverflow.com/questions/29823422/compressing-the-response-payload-in-django-rest">this question</a> is only about compressing the response, I would like to know how to compress the JSON payload from client (may be a mobile app) as well. Also, I want to know how do I convert the compressed JSON file back to its original structure both on client and server side.</p>
  
  <p>A detailed answer with the steps will be appreciated.</p>
  
  <p>I am using <code>djangorestframework==2.4.4</code> with <code>Django==1.7.7</code> for the APIs.</p>