[ https://issues.apache.org/jira/browse/METAMODEL-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14208037#comment-14208037 ]
Joao Boto commented on METAMODEL-96: ------------------------------------ this was commented on: https://issues.apache.org/jira/browse/METAMODEL-38 > complex JSON table mapping > -------------------------- > > Key: METAMODEL-96 > URL: https://issues.apache.org/jira/browse/METAMODEL-96 > Project: Metamodel > Issue Type: New Feature > Reporter: Joao Boto > > when we have a complex json like: > a customer that has a list of properties, each property have a list of > descriptions and a list of images, in addition to another objects. > would be interesting to be able to map it as if it has to do with the xml. > here the sample: > https://wiki.apache.org/metamodel/examples/XmlTableMapping > {code} > { > "custumerCode": "xpto", > "listing": [ > { > "propertyCode": "1", > "propertyReference": "1-1", > "address" : { > "streetname": "plaza de las cortes" > }, > "images" : [ > { "url": "http://somefoto1.jpg", "tag": "bath"}, > { "url": "http://somefoto2.jpg", "tag": "kitchen"} > ], > "descriptions" : [ > { "language" : "en", "comment": "some text"}, > { "language" : "de", "comment": "another text"} > ] > }, > { > "propertyCode": "2", > "propertyReference": "2-2", > "address" : { > "streetname": "plaza de las cortes" > }, > "images" : [ > { "url": "http://somefoto1.jpg", "tag": "bath"}, > { "url": "http://somefoto2.jpg", "tag": "kitchen"} > ], > "descriptions" : [ > { "language" : "en", "comment": "some text"}, > { "language" : "de", "comment": "another text"} > ] > } > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)