Compojure ring-json not returning json Compojure ring-json not returning json json json

Compojure ring-json not returning json


The problem was I wasn't passing my response objects into the (response) fn.

For example, the hello-world route should've been:

(GET "/hello-world" [] (response {:msg "hello-world"}))