Skip to content

Decimals formatted as strings in json response #106

@sandric

Description

@sandric

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions