[ 
https://issues.apache.org/jira/browse/METAMODEL-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200709#comment-14200709
 ] 

Kasper Sørensen commented on METAMODEL-38:
------------------------------------------

Hi Joao,

If you use the default/inferred schema, then you can select "name" which will 
then return a Map. From that map you can then get "first" and "last".

Alternatively you can supply your own schema model where you create a column 
called "name.first" and "name.last".

> JSON file based DataContext model
> ---------------------------------
>
>                 Key: METAMODEL-38
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-38
>             Project: Metamodel
>          Issue Type: Improvement
>            Reporter: Joao Boto
>            Assignee: Kasper Sørensen
>             Fix For: 4.2.0-incubating
>
>
> Could we support the json file format..
> Json is not unlike xml which is already supported however is a much condensed 
> form, and it is being used as the preferred method of exchange for many API
> one example:
> {
>     "name":{
>         "first":"Joe", 
>         "last":"Sixpack"
>     }, 
>     "gender":"MALE", 
>     "verified":false, 
>     "userImage":"Rm9vYmFyIQ=="
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to