Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 63266 invoked from network); 21 May 2010 23:16:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 May 2010 23:16:38 -0000 Received: (qmail 8789 invoked by uid 500); 21 May 2010 23:16:38 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 8737 invoked by uid 500); 21 May 2010 23:16:37 -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 8729 invoked by uid 99); 21 May 2010 23:16:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 23:16:37 +0000 X-ASF-Spam-Status: No, hits=-1454.4 required=10.0 tests=ALL_TRUSTED,AWL 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, 21 May 2010 23:16:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4LNGGXW020067 for ; Fri, 21 May 2010 23:16:16 GMT Message-ID: <29925415.31361274483776549.JavaMail.jira@thor> Date: Fri, 21 May 2010 19:16:16 -0400 (EDT) From: "Simona Afifi (JIRA)" To: issues@cxf.apache.org Subject: [jira] Created: (CXF-2820) Json response returns an object and not an array if array size is 1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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.8, 2.2.4 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.