module ViewModel::Controller
def render_json_view(json_view, json_references: {}, status: nil, &block)
JSON string terminals. Useful for rendering cached views without parsing
Render an arbitrarily nested tree of hashes and arrays with pre-rendered
def render_json_view(json_view, json_references: {}, status: nil, &block) prerender = prerender_json_view(json_view, json_references: json_references, &block) render_json_string(prerender, status: status) end