[
https://issues.apache.org/jira/browse/ACCUMULO-903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13530328#comment-13530328
]
Jason Trost commented on ACCUMULO-903:
--------------------------------------
my pref is using a library for this. It ensures that the data coming from the
servlet is JSON compliant. Also, it will make this code a little cleaner.
> 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