NAME

Plack::Middleware::ValidateJSON

DESCRIPTION

Check validity of JSON POST'ed to the app and generate a 422 HTTP response if the JSON is not valid

PUBLIC METHODS

call

See POD for Plack::Middleware for specs. Returns an HTTP 422 response in the event of invalid JSON.