[
https://issues.apache.org/jira/browse/METAMODEL-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14208006#comment-14208006
]
Kasper Sørensen commented on METAMODEL-38:
------------------------------------------
Hi Joao,
Regarding the list, you would need to select individual elements from the list
or accept that you get back the result as a List<Object>. To select an
individual element you could use:
{code}
names[0].first
names[0].last
names[1].first
names[1].last
{code}
Two tables does not work because there is only a single file I guess ... What
did you have in mind when creating two tables?
> 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)