Alexander Rojas created MESOS-2828:
--------------------------------------
Summary: Refactor 'model' functions and use JSON::Protobuf instead
Key: MESOS-2828
URL: https://issues.apache.org/jira/browse/MESOS-2828
Project: Mesos
Issue Type: Bug
Reporter: Alexander Rojas
Assignee: Alexander Rojas
Priority: Critical
The current patter used to serialize objects returned by endpoints requieres
the use of a {{model}} function which receives the object to be serialized and
returns a JSON object. (See slave.cpp and master.cpp).
If possible, it would be better to use JSON::Protobuf to serialize protocol
buffer objects, and if possible to write a jsonfy function similar to stringify.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)