return raw json when we parse the request body
This commit is contained in:
parent
e39770b433
commit
8c0ea21d44
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class Kemal::ParamParser
|
||||||
|
|
||||||
body = @request.body as String
|
body = @request.body as String
|
||||||
|
|
||||||
case json = JSON.parse(body)
|
case json = JSON.parse(body).raw
|
||||||
when Hash
|
when Hash
|
||||||
json.each do |k, v|
|
json.each do |k, v|
|
||||||
@params[k as String] = v as AllParamTypes
|
@params[k as String] = v as AllParamTypes
|
||||||
|
|
Loading…
Reference in a new issue