Meng Zhu created MESOS-9913:
-------------------------------
Summary: Use built-in protobuf JSON mapping utilities in favor of
reflection for (de)serialization.
Key: MESOS-9913
URL: https://issues.apache.org/jira/browse/MESOS-9913
Project: Mesos
Issue Type: Improvement
Components: json api
Reporter: Meng Zhu
Currently, we use protobuf reflection APIs to (de)serialize to/from JSON. This
means a lot of custom code. There are places where we forgot to customize (e.g.
for Map, MESOS-9901). Also, there is a performance regression in protobuf
reflection if we upgrade our protobuf library to 3.7.x (see MESOS-9896 and
related tickets).
Thus it would beneficial to make use of the [built-in json utilises
|https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/util/json_util.h]
to do the mapping.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)