mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qian Zhang (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (MESOS-10064) Accommodate the "Infinity" value in JSON
Date Fri, 20 Mar 2020 09:12:00 GMT

    [ https://issues.apache.org/jira/browse/MESOS-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063209#comment-17063209
] 

Qian Zhang edited comment on MESOS-10064 at 3/20/20, 9:11 AM:
--------------------------------------------------------------

commit 0b47b43d290494fc1c6a6f6241ddfbceeb686997
 Author: Qian Zhang 
 Date: Sun Feb 23 09:53:32 2020 +0800

Added patch for RapidJSON.

This commit updates the writer of RapidJSON to write infinite
 floating point numbers as "Infinity" and "-Infinity" (i.e.,
 with double quotes) rather than Infinity and -Infinity. This
 is to ensure the strings converted from JSON objects conform
 to the rule defined by Protobuf:
 [https://developers.google.com/protocol-buffers/docs/proto3#json]

Review: [https://reviews.apache.org/r/72161]

 

commit ec82a516918ebd663816cb110f73bdee6e5268be
 Author: Qian Zhang 
 Date: Sun Feb 23 10:09:48 2020 +0800

Accommodated the "Infinity" value in the JSON <-> Protobuf conversion.

Review: [https://reviews.apache.org/r/72162]


was (Author: qianzhang):
commit 0b47b43d290494fc1c6a6f6241ddfbceeb686997
Author: Qian Zhang 
Date: Sun Feb 23 09:53:32 2020 +0800

Added patch for RapidJSON.
 
 This commit updates the writer of RapidJSON to write infinite
 floating point numbers as "Infinity" and "-Infinity" (i.e.,
 with double quotes) rather than Infinity and -Infinity. This
 is to ensure the strings converted from JSON objects conform
 to the rule defined by Protobuf:
 https://developers.google.com/protocol-buffers/docs/proto3#json
 
 Review: [https://reviews.apache.org/r/72161]

commit ec82a516918ebd663816cb110f73bdee6e5268be
Author: Qian Zhang 
Date: Sun Feb 23 10:09:48 2020 +0800

Accommodated the "Infinity" value in the JSON <-> Protobuf conversion.
 
 Review: [https://reviews.apache.org/r/72162]

> Accommodate the "Infinity" value in JSON
> ----------------------------------------
>
>                 Key: MESOS-10064
>                 URL: https://issues.apache.org/jira/browse/MESOS-10064
>             Project: Mesos
>          Issue Type: Task
>          Components: stout
>            Reporter: Qian Zhang
>            Assignee: Qian Zhang
>            Priority: Major
>             Fix For: 1.10.0
>
>
> See [here|https://docs.google.com/document/d/1iEXn2dBg07HehbNZunJWsIY6iaFezXiRsvpNw4dVQII/edit?ts=5de78977#heading=h.ejuvxat6x3eb]
for what need to be done for this ticket.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message