I have a variable with a type of Any, when I print the variable it looks like I have a json object like below:
var machineNumber: Any
NSLog("Machine number: \(machineNumber)")
the result is :
Machine number: {length = 29, bytes = 0xab002a05 0803073c 6b43fefe 6b3c0000 ... 00000000 00000000 }
my question is, how can I get the bytes out of the variable with the type Any.
Any help is appreciated!