Details
Description
Hi,
I don't know if I'm doing something wrong or not.
I've a pojo as a generic container: ResultBean<E extends Serializable> , where it has a property: E bean;
When E is an ArrayList, the output is 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"}}}
It has this structure: bean: node1, node 2. The desired output it will web: bean:[node1,node2]
I'm doing something wrong?
Please use the user's list to ask questions.