Skip to content

Transform object into integer #96

@dielsonsales

Description

@dielsonsales

Let's say my object has a property which is a RLMArray of another object. I want to map each object of this array into a single int (which is its id) in the resulting JSON. How would I do that? Is that possible?

Something like:

[object1, object2, object3] => [1, 2, 3]

... where 1 is the object1.identifier, 2 is the object2.identifier etc.

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