Start a new topic

Codable for List for double array

 

Hi, I'm adopting our code to last SDK 3.20.1


We have a structure like this [ [1.0, 2.0, 3.0], [4.0, 5.0, 6.0] ] on the backend.


When we are using 3.17.1, we created DoubleArray type for the mapping.


However, right now with new Codable, I'm not sure how we can decode this property.


And if we don't adopt to Codable and keep using mapping instead, there are crashes and weird behavior like creating duplicate entries in the cache.


Any idea?


Thanks


Login or Signup to post a comment