[wp-hackers] WordPress JSON library?
Simon Wheatley
simon at sweetinteraction.com
Tue Mar 17 09:17:54 GMT 2009
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 .
"/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php"
);
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
use?
S
---
Sweet Interaction Ltd is Registered in England/Wales, no. 6610741
Registered office: 7 Malton Av, Manchester, M21 8AT
More information about the wp-hackers
mailing list