Decimals formatted as strings in json response
sandric opened this issue · 0 comments
sandric commented
Strangely, all my active record models that have float field column type - converted to json as strings, like "17.77"
. I checked in default rails non-jsonapi controller, as_json
on same model instance returns json with float numbers, so I believe the issue is in jsonapi_format
.