Skip to content

How to convert JSONModel class properties to snake_case NSDictionary? #642

@CochiorasBogdan

Description

@CochiorasBogdan

Hello, I am new to this library and after searching through the issues and through the code I did not find any solution to this question. I am using [JSONKeyMapper mapperForSnakeCase] to map dictionary keys to the class properties and was wondering if there is a method where I can convert the class properties back to snake_case dictionary to send the data with the same keys the server sent initially before mapping in snake_case. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions