From users-return-24473-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Tue Jul 13 09:32:53 2010 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 50646 invoked from network); 13 Jul 2010 09:32:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 09:32:53 -0000 Received: (qmail 11557 invoked by uid 500); 13 Jul 2010 09:32:53 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 11237 invoked by uid 500); 13 Jul 2010 09:32:51 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 11229 invoked by uid 99); 13 Jul 2010 09:32:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 09:32:50 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chubrilo@gmail.com designates 74.125.83.43 as permitted sender) Received: from [74.125.83.43] (HELO mail-gw0-f43.google.com) (74.125.83.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 09:32:45 +0000 Received: by gwj23 with SMTP id 23so2948366gwj.2 for ; Tue, 13 Jul 2010 02:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=NfGirKzpNCluI70GIPaHH+6PFv2ECWbTRx5ZQEV/8qU=; b=kSHxxY7MiqU5Wke/pGL9iyiUd9RD1AA6/a81o2DT0LGbbsKz9JcOWE605+ruqPX0m3 RQ/YW1LbWU19IiHGhZCeFc6z/Xo1wueFJl/ajmQAoMnIulNJuSRH5G8ukgeZZMJf4w1/ okvOCreul/QyT0CeS+cL4a4nur3TPUm+ofcJU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=UUz5uFeclEL5M88SquqyT3ddJK4zg0a30FprI1nTwgHZZM+jSQ77fmYsWv/TVWs3E/ yn3nV6nUaS4vLRtc3eE1+6TxE/Rbz4ZsqiVbhBUW92vZCfGZrYO+bTMen4UNPKUfB0ea 6M2tEO4O9eJ6cYG08vNg1rsY2YQQJzIXDS01Q= MIME-Version: 1.0 Received: by 10.150.68.36 with SMTP id q36mr6088953yba.204.1279013543922; Tue, 13 Jul 2010 02:32:23 -0700 (PDT) Sender: chubrilo@gmail.com Received: by 10.42.2.138 with HTTP; Tue, 13 Jul 2010 02:32:23 -0700 (PDT) In-Reply-To: References: <29140193.post@talk.nabble.com> <29143081.post@talk.nabble.com> Date: Tue, 13 Jul 2010 11:32:23 +0200 X-Google-Sender-Auth: Xqih328oTezAgxt5VJClFKH0uQA Message-ID: Subject: Re: JMS-MAP-JSON Improper Data structure From: Dejan Bosanac To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I just tested and it seems that Jettison 1.2 produces the same JSON. The tests were passing in ActiveMQ as core module was still using 1.0 version. So the only workaround for now is to actually downgrade to 1.0. I'll try to see what's changed in between and if it can/should be fixed. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Jul 13, 2010 at 8:48 AM, Dejan Bosanac wrote: > Hi, > > it must be the due to jettison version used. Can you try upgrading it > to 1.2 (lib/optional folder) and see if it works for you? > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > > On Mon, Jul 12, 2010 at 9:38 PM, gtsafas wrote: >> >> Additional example >> >> {"map":[{"entry":[{"string":[8059,"N"]},{"string":[8055,"NSDQ"]},{"string":[8 >> >> >> >> -- >> View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29143081.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >