This module will provide the API to display an entity as JSON output. It only provides by default the menu hook for nodes to be viewed by the URL "/node/%nid/json", but the function entity_json_menu_callback($entity_type, $entity_id, $lang_code) can be called by another menu hook to create your own entity JSON display URL.

Support has been added for any entity type by going to "entity_json/%entity_type/%entity_id". You can turn on or off which entities can be used by going to the configuration page.

Project information

Releases