You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Tomasz Janiszewski (JIRA)" <ji...@apache.org> on 2016/08/05 07:49:20 UTC
[jira] [Created] (MESOS-5995) Protobuf JSON deserialisation does
not accept int formated with strings
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)