You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Paul Lindner <pl...@linkedin.com> on 2010/05/28 01:06:31 UTC

Fwd: [jira] Commented: (SHINDIG-1144) JSON response uses the key "data" instead of "result ", in violation of the spec

Hi

This is a fairly major change, so I'd appreciate plenty of eyes on this.

Thanks!


---------- Forwarded message ----------
From: Paul Lindner (JIRA) <ji...@apache.org>
Date: Thu, May 27, 2010 at 4:03 PM
Subject: [jira] Commented: (SHINDIG-1144) JSON response uses the key "data"
instead of "result ", in violation of the spec
To: issues@shindig.apache.org



   [
https://issues.apache.org/jira/browse/SHINDIG-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872682#action_12872682]

Paul Lindner commented on SHINDIG-1144:
---------------------------------------

CL that fixes this is here:

http://codereview.appspot.com/1360041/show



> JSON response uses the key "data" instead of "result ", in violation of
the spec
>
--------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1144
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1144
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Kartick Vaddadi
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> According to the JSON-RPC over HTTP spec at
http://groups.google.com/group/json-rpc/web/json-rpc-1-2-proposal?pli=1#response-procedure-return,
a JSON-RPC response that did not return an error should use the key
"result" in the returned JSON object rather than "data".
> The Orkut JSON-RPC service at orkut.com/social/rpc exhibits this bug.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.