You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Joao Boto (JIRA)" <ji...@apache.org> on 2014/11/06 16:50:34 UTC

[jira] [Commented] (METAMODEL-38) JSON file based DataContext model

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

Joao Boto commented on METAMODEL-38:
------------------------------------

Kasper, if the json is more complex like:
{
    "name":{
        "first":"Joe", 
        "last":"Sixpack"
    }, 
    "gender":"MALE", 
    "verified":false, 
    "userImage":"Rm9vYmFyIQ=="
}

where name is a object.. how do i get lastName "Sixpack"??

thanks in advance

> 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)