You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Devaraj Das (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/12/21 19:13:30 UTC

[jira] [Issue Comment Edited] (AMBARI-158) switch json representation to the natural one

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

Devaraj Das edited comment on AMBARI-158 at 12/21/11 6:12 PM:
--------------------------------------------------------------

Owen, since this improvement didn't work in our tests, we were patching the code so that this improvement doesn't get executed. I noticed today that the patch was committed to trunk as part of AMBARI-170 (http://bit.ly/uCa6tx). Just wanted to record this here.
                
      was (Author: devaraj):
    Owen, since this improvement didn't work in our tests, we were patching the code so that this improvement doesn't get executed. I noticed today that the patch was committed to trunk as part of AMBARI-170. Just wanted to record this here.
                  
> switch json representation to the natural one
> ---------------------------------------------
>
>                 Key: AMBARI-158
>                 URL: https://issues.apache.org/jira/browse/AMBARI-158
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.1.0
>
>
> The JAXB mapping for JSON has several styles and the natural one looks to be the best fit for what we need. In particular, it automatically assumes that all lists should be mapped to JSON lists regardless of the number of elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira