Renders the navigation items as a object tree serialized as a json string, can also output raw ruby Hashes
# File lib/simple_navigation/renderer/json.rb, line 8 def render(item_container) results = hash_render(item_container) options[:as_hash] ? results : results.to_json end