jsonapi-utils icon indicating copy to clipboard operation
jsonapi-utils copied to clipboard

Decimals formatted as strings in json response

Open sandric opened this issue 5 years ago • 0 comments

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.

sandric avatar Jul 15 '20 15:07 sandric