You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by gtsafas <gt...@rblt.com> on 2010/07/12 21:22:33 UTC

JMS-MAP-JSON Improper Data structure

I am getting an odd error in my data from my broker. Using perl I am changing
a map message to json using jms-map-json. This returns an improperly
structured version of my data.



'map' => [
                     {
                       'entry' => [
                                    {
                                      'string' => [

As you can see it is creating an array where the hash should be.

I now have to access data like @{@{$json->{map}}[0]->{entry}}; Which is very
unpleasant. We did not have this issue prior. I used to be able to simply do

@{$json->{map}{entry}} to access my data


This is with amq 5.3.2
-- 
View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29140193.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: JMS-MAP-JSON Improper Data structure

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

just a follow up. The problem was not in Jettison itself, but XStream
version 1.3.1. I implemented a workaround fix in the trunk and
upgraded Jettison to 1.2, which will make everything ok for the 5.4.0
release. Hopefully, XStream 1.3.2 will fix this. See
https://issues.apache.org/activemq/browse/AMQ-2825 for more details.

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 4:49 PM, Dejan Bosanac <de...@nighttale.net> wrote:
> Hi,
>
> jars from lib/optional are loaded as well, so keep only one instance
> of the library in those folders.
>
> 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 3:47 PM, gtsafas <gt...@rblt.com> wrote:
>>
>> Ok, now I was under the impression .jars go into the lib folder and
>> lib/optional was not loaded? If there is a file in lib will it take
>> precedence over the lib/optional? or will it be ignored? I ask because I
>> realize I had jettision 1.2 inside of the activemq/lib folder and jettision
>> 1.1 inside of activemq/lib/optional folder.
>>
>> Will try with 1.0 after market close today.
>>
>>
>> Dejan Bosanac wrote:
>>>
>>> Hi,
>>>
>>> yes, putting Jettison 1.0 in lib/optional folder (and deleting the one
>>> that comes with the distro) should do the trick for now.
>>>
>>> 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 3:36 PM, gtsafas <gt...@rblt.com> wrote:
>>>>
>>>> So you are saying that I should be downgrading to Jettison 1.0?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Dejan Bosanac wrote:
>>>>>
>>>>> 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 <de...@nighttale.net>
>>>>> 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 <gt...@rblt.com> 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.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> -----
>>>>> Dejan Bosanac
>>>>>
>>>>> Open Source Integration - http://fusesource.com/
>>>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>>>> Blog - http://www.nighttale.net
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150489.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> -----
>>> Dejan Bosanac
>>>
>>> Open Source Integration - http://fusesource.com/
>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>> Blog - http://www.nighttale.net
>>>
>>
>> --
>> View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150655.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
>

Re: JMS-MAP-JSON Improper Data structure

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

jars from lib/optional are loaded as well, so keep only one instance
of the library in those folders.

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 3:47 PM, gtsafas <gt...@rblt.com> wrote:
>
> Ok, now I was under the impression .jars go into the lib folder and
> lib/optional was not loaded? If there is a file in lib will it take
> precedence over the lib/optional? or will it be ignored? I ask because I
> realize I had jettision 1.2 inside of the activemq/lib folder and jettision
> 1.1 inside of activemq/lib/optional folder.
>
> Will try with 1.0 after market close today.
>
>
> Dejan Bosanac wrote:
>>
>> Hi,
>>
>> yes, putting Jettison 1.0 in lib/optional folder (and deleting the one
>> that comes with the distro) should do the trick for now.
>>
>> 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 3:36 PM, gtsafas <gt...@rblt.com> wrote:
>>>
>>> So you are saying that I should be downgrading to Jettison 1.0?
>>>
>>>
>>>
>>>
>>>
>>> Dejan Bosanac wrote:
>>>>
>>>> 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 <de...@nighttale.net>
>>>> 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 <gt...@rblt.com> 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.
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> -----
>>>> Dejan Bosanac
>>>>
>>>> Open Source Integration - http://fusesource.com/
>>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>>> Blog - http://www.nighttale.net
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150489.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -----
>> Dejan Bosanac
>>
>> Open Source Integration - http://fusesource.com/
>> ActiveMQ in Action - http://www.manning.com/snyder/
>> Blog - http://www.nighttale.net
>>
>
> --
> View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150655.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Re: JMS-MAP-JSON Improper Data structure

Posted by gtsafas <gt...@rblt.com>.
Checked on DEV Machine, confirmed that swaping to 1.0 fixed the issue

-jettison1.2.jar
$VAR1 =
'{"map":[{"entry":[{"string":[113,"N"]},{"string":[19,30057090]},{"string":[55,"STRL"]},{"string":[17,1005000322]},{"string":[382,1]},{"string":[39,2]},{"string":[14,100]},{"string":[11,230421007130001002]},{"string":[37,1610613204]},{"string":[38,100]},{"string":[20,0]},{"string":[150,2]},{"string":[151,0]},{"string":[60,"20100713-13:23:59"]},{"string":[100,"O"]},{"string":[44,13.04]},{"string":[47,"A"]},{"string":[1,"xx"]},{"string":"NumGroups","int":0},{"string":[30,"NSDQ"]},{"string":[375,"NSDQ"]},{"string":[6,13.04]},{"string":[32,100]},{"string":[31,13.04]},{"string":[54,2]},{"string":[75,20100713]},{"string":[76,"Rx"]}]}]}';

Can't use string ("NumGroups") as an ARRAY ref while "strict refs" in use at
./FIX-Consumer.pl line 52, <GEN10> line 14.

-jettison1.1.jar

$VAR1 = '{"map":[{"entry":[{"string":[113,"N"]},{"string":[19,"XRL_ANY
6707\\/07132010
0006000060N"]},{"string":[55,"RES"]},{"string":[17,1025010333]},{"string":[382,1]},{"string":[39,2]},{"string":[14,200]},{"string":[11,230421007130000004]},{"string":[37,1431656088]},{"string":[38,200]},{"string":[20,0]},{"string":[150,2]},{"string":[151,0]},{"string":[60,"20100713-14:02:52"]},{"string":[100,"N"]},{"string":[44,14]},{"string":[47,"A"]},{"string":[1,"xx"]},{"string":[30,"NYSE"]},{"string":[375,"NYSE"]},{"string":[6,14]},{"string":[32,200]},{"string":[31,14]},{"string":[54,1]},{"string":[75,20100713]},{"string":[76,"Rx"]}]}]}';

Can't use string ("NumGroups") as an ARRAY ref while "strict refs" in use at
./FIX-Consumer.pl line 52, <GEN10> line 14.

-jettison1.0.jar

$VAR1 =
'{"map":{"entry":[{"string":[113,"N"]},{"string":[19,2190399]},{"string":[55,"GNW"]},{"string":[17,1045004733]},{"string":[382,1]},{"string":[39,2]},{"string":[14,500]},{"string":[11,230421007130003006]},{"string":[37,715839186]},{"string":[38,500]},{"string":[20,0]},{"string":[150,2]},{"string":[151,0]},{"string":[60,"20100713-14:39:24"]},{"string":[100,"N"]},{"string":[44,14.4]},{"string":[47,"A"]},{"string":[1,"xx"]},{"string":[30,"FLOW"]},{"string":[375,"FLOW"]},{"string":[6,14.4]},{"string":[32,500]},{"string":[31,14.4]},{"string":[54,1]},{"string":[75,20100713]},{"string":[76,"Rx"]}]}}';

-- 
View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29151326.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: JMS-MAP-JSON Improper Data structure

Posted by gtsafas <gt...@rblt.com>.
Ok, now I was under the impression .jars go into the lib folder and
lib/optional was not loaded? If there is a file in lib will it take
precedence over the lib/optional? or will it be ignored? I ask because I
realize I had jettision 1.2 inside of the activemq/lib folder and jettision
1.1 inside of activemq/lib/optional folder.

Will try with 1.0 after market close today.


Dejan Bosanac wrote:
> 
> Hi,
> 
> yes, putting Jettison 1.0 in lib/optional folder (and deleting the one
> that comes with the distro) should do the trick for now.
> 
> 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 3:36 PM, gtsafas <gt...@rblt.com> wrote:
>>
>> So you are saying that I should be downgrading to Jettison 1.0?
>>
>>
>>
>>
>>
>> Dejan Bosanac wrote:
>>>
>>> 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 <de...@nighttale.net>
>>> 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 <gt...@rblt.com> 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.
>>>>>
>>>>>
>>>>
>>>
>>>
>>> -----
>>> Dejan Bosanac
>>>
>>> Open Source Integration - http://fusesource.com/
>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>> Blog - http://www.nighttale.net
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150489.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 

-- 
View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150655.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: JMS-MAP-JSON Improper Data structure

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

yes, putting Jettison 1.0 in lib/optional folder (and deleting the one
that comes with the distro) should do the trick for now.

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 3:36 PM, gtsafas <gt...@rblt.com> wrote:
>
> So you are saying that I should be downgrading to Jettison 1.0?
>
>
>
>
>
> Dejan Bosanac wrote:
>>
>> 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 <de...@nighttale.net>
>> 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 <gt...@rblt.com> 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.
>>>>
>>>>
>>>
>>
>>
>> -----
>> Dejan Bosanac
>>
>> Open Source Integration - http://fusesource.com/
>> ActiveMQ in Action - http://www.manning.com/snyder/
>> Blog - http://www.nighttale.net
>>
>
> --
> View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150489.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Re: JMS-MAP-JSON Improper Data structure

Posted by gtsafas <gt...@rblt.com>.
So you are saying that I should be downgrading to Jettison 1.0?





Dejan Bosanac wrote:
> 
> 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 <de...@nighttale.net>
> 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 <gt...@rblt.com> 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.
>>>
>>>
>>
> 
> 
> -----
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 

-- 
View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150489.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: JMS-MAP-JSON Improper Data structure

Posted by Dejan Bosanac <de...@nighttale.net>.
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 <de...@nighttale.net> 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 <gt...@rblt.com> 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.
>>
>>
>

Re: JMS-MAP-JSON Improper Data structure

Posted by Dejan Bosanac <de...@nighttale.net>.
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 <gt...@rblt.com> 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.
>
>

Re: JMS-MAP-JSON Improper Data structure

Posted by gtsafas <gt...@rblt.com>.
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.