You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rojas (JIRA)" <ji...@apache.org> on 2015/06/08 13:36:01 UTC

[jira] [Created] (MESOS-2828) Refactor 'model' functions and use JSON::Protobuf instead

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)