Hi all,

I've been trying to represent a Json using CXF. The actual piece of Json
looks like the example below :

[CODE]
.
.
.
 "example":{
                     "key":"test1",
                     "value":"test2"
                  },
.
.
.
[/CODE]

The problem is that I would like to represent the above example like the
following:

[CODE]
.
.
.
 "example":{
                     "test1":"test2",                 
                  },
.
.
.
[/CODE]

where "test1" and "test2" are respectively the two properties "key" and
"value" which I had defined in the bean.
I dont know how populate the two properties in order to obtain a result like
the second example above.
Does anyone know how can I do it? I'm out of ideas.

Thank you very much.



-- 
View this message in context: 
http://old.nabble.com/binding-problem-with-cxf-tp29055326p29055326.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to