[wp-hackers] WordPress JSON library?
otto at ottodestruct.com
Tue Mar 17 11:55:20 GMT 2009
WordPress seems to use mostly XML responses when it needs to send back
complex AJAX data (more complex than a status code or HTML). Look at
the WP_Ajax_Response class.
On Tue, Mar 17, 2009 at 4:17 AM, Simon Wheatley
<simon at sweetinteraction.com> wrote:
> Hi all,
> What do people use in WP for encoding JSON replies to AJAX queries?
> Currently I use the Moxiecode_JSON class, but this involves a fairly
> contorted require, ie:
> require_once( ABSPATH .
> I've grepped through the WordPress code for 'json' and can't see
> anything, but is there a more convenient class or function I could
> Sweet Interaction Ltd is Registered in England/Wales, no. 6610741
> Registered office: 7 Malton Av, Manchester, M21 8AT
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers