You can provide menu feeds in JSON format instead of XML
format. The operations can then parse the JSON feed without requiring
the XML parsing support in the Dojo toolkit.
Client-side framework for simple menus
You can enable simple menus in the client with four modules.
Server-side framework
A plug-in receives HTTP requests for specific menus from
a client and responds with the menu feed in JSON format. The response
is marked as content type application/JSON .
Changing menu item visibility
Whether the menu items are visible is controlled in a layered
way by client-side JavaScript and markup. The default value for visibility,
if not specified, is Boolean true.
Menu styles
You can vary the appearance of the items in menus that
are delivered through the JSON menu framework.