I would like to ask how to handle the below array as I'm confused with this problem few days.
var testArray = [Dictionary<String, Any>]()
print(testArray)
Here is the log result:
[["timestamp": 1579668693104, "phone": 12345678, "message": hihihihi], ["phone": 44445555, "timestamp": 1579668435606, "message": hello],["timestamp": 1579668474560, "phone": 232323232, "message": yoha]]
And I wish to handle the above "testArray" into this, to put all the value of timestamp, phone and message into "insideArray", is that possible? Thank you for your help
struct insideObjects{
var realphone: String
var timestamp: Double
var message: String
}
var insideArray = [insideObjects]()