You can clone with
HTTPS or Subversion.
Since the Sinatra::JSON module uses multi_json internally, shouldn't it be a dependency and load it automatically?
Good point, could you send a patch?
One more thing: Shouldn't this module do much more than just providing a helper method? I mean, adding a full-blown module that does almost the same thing as to_json (plus changing the HTTP headers of course)
What I thought initially when imagining the functionality would be akin to what Grape does with its format: json call: Convert every response into a JSON string implicitly. Would this be a good option to have? / cc @rkh
I think maintaining a full blown module is going to be hard, but I'm closing this in favor of your patch for further discussion.