Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 6829 invoked from network); 9 Jul 2010 20:53:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jul 2010 20:53:45 -0000 Received: (qmail 87564 invoked by uid 500); 9 Jul 2010 20:53:45 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 87524 invoked by uid 500); 9 Jul 2010 20:53:45 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 87516 invoked by uid 99); 9 Jul 2010 20:53:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 20:53:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 20:53:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o69KjpbY008456 for ; Fri, 9 Jul 2010 20:45:51 GMT Message-ID: <20390985.293301278708351295.JavaMail.jira@thor> Date: Fri, 9 Jul 2010 16:45:51 -0400 (EDT) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2820) Json response returns an object and not an array if array size is 1 In-Reply-To: <29925415.31361274483776549.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-2820. ----------------------------------- Resolution: Won't Fix Please see CXF JAXRS documentation on how to workaround this limitation > Json response returns an object and not an array if array size is 1 > ------------------------------------------------------------------- > > Key: CXF-2820 > URL: https://issues.apache.org/jira/browse/CXF-2820 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.2.4, 2.2.8 > Reporter: Simona Afifi > > A field type is defined as an array of objects. If the size of that array is 1, the object is not returned as an array "[" in the json response of the cxf-jaxrs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.