Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform object into integer #96

Open
dielsonsales opened this issue Aug 8, 2016 · 0 comments
Open

Transform object into integer #96

dielsonsales opened this issue Aug 8, 2016 · 0 comments

Comments

@dielsonsales
Copy link

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.

@dielsonsales dielsonsales changed the title Turn object into integer Transform object into integer Aug 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant