Object.

json(object)

Render the contents of the object in JSON format.

This is more general than Tree.json, which specifically renders a treelike object.