Marshal
Marshal copied to clipboard
How to map arrays?
[{"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
What does your structure look like? There are several ways to decode your keys it all depends on what they are in your structure.