|
|
|
|
|
by nirvdrum
1145 days ago
|
|
That'd work for this specific case, but I think that was just a simplified example. A Map can store a value of any type, while the dataset property will always be a string. If you're only working with strings, it's a great option since you don't need to maintain a side data structure at all. But, serializing and deserializing arbitrary objects would be expensive. |
|
This wouldn't work if you need to know the order of the properties.