2 ms·
On the point of maps, I have had success solving this in two different ways. Option 1: return a property list. In other words, a list of objects that have a ke
by hamandcheese 4y ago
On the point of maps, I have had success solving this in two different ways.
Option 1: return a property list. In other words, a list of objects that have a key and a value. It’s easy write a getter function to search by key, or convert it to a map outright.
Option 2: make a Json custom “scalar”, send back whatever dynamic structure you want.