You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zoltán Zvara (JIRA)" <ji...@apache.org> on 2016/03/16 18:29:33 UTC

[jira] [Created] (FLINK-3624) Use camelCase naming of JSON attributes generated by the REST API instead of dash

Zoltán Zvara created FLINK-3624:
-----------------------------------

             Summary: Use camelCase naming of JSON attributes generated by the REST API instead of dash
                 Key: FLINK-3624
                 URL: https://issues.apache.org/jira/browse/FLINK-3624
             Project: Flink
          Issue Type: Improvement
          Components: Webfrontend
            Reporter: Zoltán Zvara


It forces inconvenient attribute access in some scripting languages, for example JavaScript (which includes the JSON (JavaScript Object Notation) specification) and against the widely used and accepted camelCase style.

Example:
{code:title=http://localhost:8081/jobs/8510e306a40e9266fcc6e0989a258a01/vertices|borderStyle=solid}
{
jid: "8510e306a40e9266fcc6e0989a258a01",
name: "Socket Window WordCount",
isStoppable: false,
state: "RUNNING",
start-time: 1458147070328,
end-time: -1,
duration: 418389,
now: 1458147488717,
{code}

{{isStoppable}} is camelCase, {{start-time}} is not.



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