Boolean PUT/POST JSON on SkinnyResource
pc3b3r opened this issue · comments
When I GET a model from /#.json there are no problems. Using the result from GET to POST/PUT I get the following error :
Failed to parse JSON body because Do not know how to convert JBool(false) into class java.lang.String
It seems that boolean values should be double-quoted or converted to 0/1.
Thanks. To be honest, accepting params as JSON body is not well tested. We should check it more. If you have time, please help us by writing tests for improving the framework.