Skip to content

Case-aware deserialization support #5

Closed
@ballPointPenguin

Description

@ballPointPenguin

json-api clients adhering to the 1.0 recommendations may be likely to use dasherized (e.g. password-confirmation) keys.
json-api clients adhering to the 1.1 recommendations may be likely to use camelCase (e.g. passwordConfirmation) keys.
The JSONAPI::Deserialization jsonapi_deserialize method does not seem to offer modification to key names. It would be handy if it could (optionally) underscore-ify (snake-case) these keys, (e.g. password_confirmation) to conform to Rails expectations.

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