XML/JSON Data Scheme

From Oxygen.next Wiki

Jump to: navigation, search

[edit] XML Example

Our XML/JSON Scheme is a mix of several information about a object.

XML:

<?xml version="1.0" encoding="utf-8" ?>
<NameOfObject>
  <PropertyOfObject readonly="true">ValueOfObject</PropertyOfObject>
  <PropertyOfObject>ValueOfObject</PropertyOfObject>
  <ActionOnObject>REST Link</ActionOnObject>
  <ObjectLink>Own REST LINK</ObjectLink>
<NameOfObject>

JSON:

{
    nameofobject:{
        propertyofobject:[
            {
                readonly:'true'
            },
            'ValueOfObject'
        ],
        actiononobject:'REST Link',
        objectlink:'Own REST LINK',
        nameofobject:{
        }
    }
}
Personal tools