# File lib/sinatra/json.rb, line 96 def json(object, options = {}) content_type resolve_content_type(options) resolve_encoder_action object, resolve_encoder(options) end