Hi,
I've post this issue: https://jira.codehaus.org/browse/XSTR-696
But I don't know if this is an issue or something that I'm doing wrong. I
think that it is an issue, and for that I've create the jira issue.
I've a generic pojo, ResulBean<E extends Serializable> that has a property,
E bean. When E is an ArrayList<GnNode> the output is something like this:
{"@id": "1","bean":
{"@class": "list","@id": "2",
"org.kyrian.entity.gnomo.GnNode": {"@id": "3","nodeId":
1,"nodeTitle": "nodo 1"},
"org.kyrian.entity.gnomo.GnNode": {"@id": "4","nodeId":
2,"nodeTitle": "nodo 2"}
}
}
But I think the output must be something like this:
bean:[
{"@id": "3","nodeId": 1,"nodeTitle": "nodo 1"},
{"@id": "4","nodeId": 2,"nodeTitle": "nodo 2"}
]
I'm doing something wrong?
Lot of thanks,
Marcial
--
Marcial Atiénzar Navarro
Analista de Sistemas de Información
Avda. Del Reial Monestir Ntra. Sra. Poblet, 20
46930-Quart de Poblet (Valencia)
Tel.: 961 849 249 (corto 1249)
Móvil: 629 201 240 (corto 44249)
Fax: 961 525 321
[email protected] <mailto:[email protected]>
www.umivale.es
www.sumaintermutual.es
________________________________
Antes de imprimir cualquier documento, asegúrese de que es necesario.
El medio ambiente está en nuestra mano.
El presente mensaje y los documentos que,en su caso, lleve anexos, pueden
contener información confidencial. Se informa a quién lo reciba por error, que
su uso no autorizado está prohibido legalmente. Comunique dicha situación por
la misma vía o telefónicamente al 902 365 012, no lo remita a terceros y
proceda a su eliminación inmediata.
<<inline: logotipo.png>>
<<inline: efqm.jpg>>
