[wp-trac] [WordPress Trac] #23099: Add JSON-RPC support using existing XML-RPC methods
WordPress Trac
noreply at wordpress.org
Wed Jan 2 05:25:53 UTC 2013
#23099: Add JSON-RPC support using existing XML-RPC methods
-----------------------------+------------------------------
Reporter: maxcutler | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.5
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by maxcutler):
Replying to [comment:7 rmccue]:
> I wonder, since this appears to be a stop-gap until we have a JSON API,
why not just implement a JSON API straight out?
It's an enormous project, and there are many diverging opinions about how
to go about doing it. Automattic has made an attempt, there are several
plugins on WP.org with varying approaches; I've yet to see anything that
would be suitable for core.
In the meantime, there are many existing XML-RPC clients (like the mobile
apps) that would prefer to use JSON if they could to reduce over-the-wire
bandwidth and because programming clients is easier than XML-RPC (JSON
parsing >> XML parsing).
The method implementations have existed for several releases, so only the
new request/response serialization layer has to be validated and tested.
This should make it easy to include and support compared to an entire new
API subsystem with a brand new implementation of post, taxonomy, user,
etc. functionality.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23099#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list