lib/roda/plugins/json.rb in roda-3.70.0 vs lib/roda/plugins/json.rb in roda-3.71.0

- old
+ new

@@ -50,9 +50,12 @@ # # The default content-type is 'application/json', but you can change that # using the +:content_type+ option: # # plugin :json, content_type: 'application/xml' + # + # This plugin depends on the custom_block_results plugin, and therefore does + # not support treating String, FalseClass, or NilClass values as JSON. module Json # Set the classes to automatically convert to JSON, and the serializer to use. def self.configure(app, opts=OPTS) app.plugin :custom_block_results