[oslc-core] JSON representation rules - typo

John Arwe johnarwe at us.ibm.com
Fri Aug 12 07:42:41 EDT 2011


http://open-services.net/bin/view/Main/OSLCCoreSpecAppendixRepresentations?sortcol=table;up=#Guidelines_for_JSON 
says, in part:

1.0 For each property of a resource 
1.1 Add field to the resource's JSON object with name set to Prefixed Name 
of property 
1.1.1 If the property is specified as a single-valued property, then make 
field's value literal or JSON Object 
1.1.2 If the property is specified as a multi-valued property, then make 
field's value JSON Array 
1.2 Else if value-type is Literal 
1.2.1 Set field's value to string representation of property value 

Note the "Else if" at 1.2 without a matching "If".  Odds are it should 
read "1.2 If value-type", i.e. just remove the initial Else.


Best Regards, John

Voice US 845-435-9470  BluePages
Tivoli OSLC Lead - Show me the Scenario
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20110812/a0b504ca/attachment-0003.html>


More information about the Oslc-Core mailing list