[oslc-core] JSON representation rules - typo

Steve K Speicher sspeiche at us.ibm.com
Mon Aug 22 10:14:06 EDT 2011


Thanks John, I made the fix

Thanks,
Steve Speicher | IBM Rational Software | (919) 254-0645

> From: John Arwe/Poughkeepsie/IBM at IBMUS
> To: oslc-core at open-services.net, 
> Date: 08/12/2011 09:24 AM
> Subject: [oslc-core] JSON representation rules - typo
> Sent by: oslc-core-bounces at open-services.net
> 
> 
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 
> _______________________________________________
> Oslc-Core mailing list
> Oslc-Core at open-services.net
> http://open-services.net/mailman/listinfo/oslc-core_open-services.net





More information about the Oslc-Core mailing list