Currently in order to turn off pretty printing JSON responses, we must add the query param "prettyPrint=false" to every single request made to a Cloud Endpoints API. It would be much preferred if we could turn this off by default on the server, so that if no "prettyPrint" query param is provided, pretty printing is off.
This might seem inconsequential, but we send fairly large payloads (2MB and up) that must be performant on low-end Android devices, and turning off pretty printing reduces the payloads by 15-20%, which results in reduced deserialization costs for all RPCs to all of our services.
Thanks for considering this feature. Maybe if I can find the free cycles I'll work on it myself.
Currently in order to turn off pretty printing JSON responses, we must add the query param "prettyPrint=false" to every single request made to a Cloud Endpoints API. It would be much preferred if we could turn this off by default on the server, so that if no "prettyPrint" query param is provided, pretty printing is off.
This might seem inconsequential, but we send fairly large payloads (2MB and up) that must be performant on low-end Android devices, and turning off pretty printing reduces the payloads by 15-20%, which results in reduced deserialization costs for all RPCs to all of our services.
Thanks for considering this feature. Maybe if I can find the free cycles I'll work on it myself.