accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Rohling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-903) Make monitor servlet JSON output JSON spec compliant
Date Wed, 12 Dec 2012 20:40:20 GMT

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

Christian Rohling commented on ACCUMULO-903:
--------------------------------------------

The diff provided here is simply a quick patch to fix the JSON formatting issue, but does
not solve the issue of generating JSON by hand. Has there been consideration for actually
leveraging an existing JSON library to complete this task? I am willing to do that work.
                
> Make monitor servlet JSON output JSON spec compliant
> ----------------------------------------------------
>
>                 Key: ACCUMULO-903
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-903
>             Project: Accumulo
>          Issue Type: Bug
>          Components: monitor
>    Affects Versions: 1.5.0
>            Reporter: Jason Trost
>            Assignee: Jason Trost
>            Priority: Minor
>              Labels: json, monitor
>         Attachments: ACCUMULO-903
>
>
> While trying to ingrate the monitor page JSON output into our internal monitoring system,
we noticed that the json generated is not compliant with the JSON spec (http://www.json.org/).
Specifically, it uses single quotes rather that double quotes.  This caused issues in most
of the JSON libs we tried (python's anyjson, simplejson, and json).
> We are preparing a fix for this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message