Marshal icon indicating copy to clipboard operation
Marshal copied to clipboard

How to map arrays?

Open 4taras4 opened this issue 6 years ago • 1 comments

[{"id":1, "login":"Alexander_test", "status":0, "keys":[...], "activity":true, "nickname":"alexandr", "custom_nickname":""}, {"id":2, "login":"Alexander", "status":2, "keys":[...], "activity":false, "nickname":"Alexander", "custom_nickname":"Александр Болдырев", "msg_lifetime":300, "lastMsgId":55167323, "lastMsgTime":1546789007601, "lastText":"asdsfg23423dfsdgf123dsfsdf", "lastCipher":"adfsdg34534534sfgdfg234234", "lastStatus":2, "lastUserId":2, "countUnreadMsgs":5, "mydevice":0, "users":[], "out": []}]

How i can map this array? I'm currently created UserStructure

4taras4 avatar Feb 10 '18 09:02 4taras4

What does your structure look like? There are several ways to decode your keys it all depends on what they are in your structure.

scottandrew avatar Feb 19 '18 16:02 scottandrew