3 ms·
I'm not familiar with Dart, but it seems like since it has object(map)/list literal syntax similar to Javascript, deserializing a simple object (no methods) fro
by marktangotango 12y ago
I'm not familiar with Dart, but it seems like since it has object(map)/list literal syntax similar to Javascript, deserializing a simple object (no methods) from a string of characters would be trivial. JSON really is a Javascript killer feature imo.
- d2p 12y agoIt does support deserialising into a map, but not a class. One of the selling points of Dart is classes; which can give code-completion, static analysis, etc.. This is all lost if you use maps instead of classes.
- jenscow 12y agoJSON isn't a feature of JavaScript. It's the other way around.