lib/roda/plugins/json.rb in roda-cj-0.9.3 vs lib/roda/plugins/json.rb in roda-cj-0.9.4

- old
+ new

@@ -1,9 +1,9 @@ require 'json' class Roda module RodaPlugins - # The json plugin allows matching blocks to return + # The json plugin allows match blocks to return # arrays or hashes, and have those arrays or hashes be # converted to json which is used as the response body. # It also sets the response content type to application/json. # So you can take code like: #