Flatbuffers is the high performance serialization library from Google - https://google.github.io/flatbuffers/flatbuffers_guide_use_python.html
It has compatible libraries for java (android), javascript and python.
Is it possible for you to create functionality that happens automatically for each endpoint - that it accepts data in flatbuffers and gives response in flatbuffers if the request has Accept: application/x-flatbuffers in it.
e.g. curl -D- -H "Accept: application/x-flatbuffers" http://localhost:7002
if the header is not present, then the endpoint works with default json
Flatbuffers is the high performance serialization library from Google - https://google.github.io/flatbuffers/flatbuffers_guide_use_python.html
It has compatible libraries for java (android), javascript and python.
Is it possible for you to create functionality that happens automatically for each endpoint - that it accepts data in flatbuffers and gives response in flatbuffers if the request has
Accept: application/x-flatbuffersin it.e.g.
curl -D- -H "Accept: application/x-flatbuffers" http://localhost:7002if the header is not present, then the endpoint works with default json