DescriptionBased on OpenSocial 1.0 spec[1] the osapi.http.get() or <os:HttpRequest> could return JSON object or array for format JSON.
The review contains proposed fix for jira SHINDIG-1436 to check the first character. If its '[' then try to build JSON array, otherwise create JSON object.
Updated the unit test accordingly.
[1] http://opensocial-resources.googlecode.com/svn/spec/1.0/Core-Data.xml#rfc.section.2.9
Patch Set 1 #
MessagesTotal messages: 4
|