Remove unnecessary fields from json response
-
I want retrieve the specific category posts
http://mydomain.com/api/get_category_posts/?category_id=1799
Everything works fine, but i want call this api from my Android application and i want minimize the data sent by the server.
the response format is the following:
“status”:”ok”,
“count”:5,
“count_total”:5,
“pages”:1,
“posts”:[]I want to remove unnecessary fields from json response coming from server
Thanks in advaance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Remove unnecessary fields from json response’ is closed to new replies.