Tomasz Janiszewski created MESOS-5995:
-----------------------------------------

             Summary: Protobuf JSON deserialisation does not accept int 
formated with strings
                 Key: MESOS-5995
                 URL: https://issues.apache.org/jira/browse/MESOS-5995
             Project: Mesos
          Issue Type: Bug
          Components: HTTP API
    Affects Versions: 1.0.0
            Reporter: Tomasz Janiszewski
            Assignee: Tomasz Janiszewski
            Priority: Minor


Proto2 does not specify JSON mappings but 
[Proto3|https://developers.google.com/protocol-buffers/docs/proto3#json] does 
and it recommend to map 64bit numbers as a string. Unfortunately Mesos does not 
accepts strings in places of uint64 and return 400 Bad 
{quote}
Request error Failed to convert JSON into Call protobuf: Not expecting a JSON 
string for field 'value'.
{quote}
Is this by purpose or is this a bug?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to