Konstantin Käfer in this issue have used page callback => 'drupal_json'
. That's a remarkable trick. Cross that with the object loading notation of the new menu and you can get your objects in JSON with remarkable ease: $items['node/%node/json'] = array('page callback' => 'drupal_json', 'page arguments' => array(1), 'type' => MENU_CALLBACK);
will get you the node in JSON format, access checked and all. Noone stops you from writing foo_object_load and using %foo_object to return anything in JSON...
Commenting on this Story is closed.
will there be official update?
JJm
Custom written Purchase Essay - Purchase Term papers - Purchase Report custom writing service providing custom written papers.