简体   繁体   中英

Map RLMObject from array and not dictionary with Realm-JSON

I have a data structure that looks like following:

在此处输入图片说明

I'm trying to map it. I will have array of DayChoice objects. Each of them contains index and string properties.

Now I face trouble with writing mapping, usually it goes like this:

在此处输入图片说明

But as you can see my DayChoice objects do not have keys, and are in arrays. How do I write mapping for this?

对于任何发现此问题的人,这似乎已在Realm-JSON#88中得到解决。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM