non standard JSON-RPC result

36 views
Skip to first unread message

Rudy Suyanto

unread,
Jun 23, 2013, 9:58:01 PM6/23/13
to jay...@googlegroups.com
Hi,

Is there any possibility to produce result non standard JSON-RPC specification, which similar to how twitter produce JSON, similar to


{["London","Zurich","Paris","New York"]}


instead of


{"id":-1,"result":["London","Zurich","Paris","New York"]}




Atif Aziz

unread,
Jun 24, 2013, 12:44:27 PM6/24/13
to jay...@googlegroups.com
I've posted a minimal Console sample (as a gist) that shows you how to achieve this.

- Atif



--
You received this message because you are subscribed to the Google Groups "Jayrock" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jayrock+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages