Comply exhaustive case check (#560)
This commit is contained in:
parent
b7506f6fab
commit
c3c43145b8
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ module Kemal
|
|||
end
|
||||
when Array
|
||||
@json["_json"] = json
|
||||
else
|
||||
# Ignore non Array or Hash json values
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue