module Roda::RodaPlugins::Json::InstanceMethods

def handle_json_block_result(result)

by converting the result to JSON.
Handle a result for one of the registered JSON result classes
def handle_json_block_result(result)
  @_response[RodaResponseHeaders::CONTENT_TYPE] ||= opts[:json_result_content_type]
  @_request.send(:convert_to_json, result)
end