For the latest Dart news, visit our new blog at https://medium.com/dartlang .
Posted by Seth Ladd
Thanks to a recent commit to the bleeding_edge branch, the Dart VM now natively resolves dart:json, dart:uri, and dart:utf8.
This means the following code will now work when executed via the dart command line:
#import('dart:json');
main() {
var json = '{"moar_libraries": true}';
var obj = JSON.parse(json);
}
Great to see more SDK libraries get first class treatment!
Thanks to a recent commit to the bleeding_edge branch, the Dart VM now natively resolves dart:json, dart:uri, and dart:utf8.
This means the following code will now work when executed via the dart command line:
#import('dart:json');
main() {
var json = '{"moar_libraries": true}';
var obj = JSON.parse(json);
}
Great to see more SDK libraries get first class treatment!