Creates response with the given status and the "responseObject" converted to JSON.
Creates response with the given status and the "responseObject" converted to JSON.
any object that can be converted to JSON
HTTP status code of the response (defaults to 400)
Creates a response with the given http status and the "responseObject" converted to JSON.
Creates a response with the given http status and the "responseObject" converted to JSON.
any object that can be converted to JSON
HTTP status code of the response (defaults to 200)
Creates response with the given status and the "responseObject" converted to JSON.
Creates response with the given status and the "responseObject" converted to JSON.
any object that can be converted to JSON
HTTP status code of the response (defaults to 500)
Created by derMicha on 28/10/16. This util sh