Skip to content

Instantly share code, notes, and snippets.

DanTup /
Created Mar 3, 2017 — forked from paulmillr/
Leaked internal google dart email

---------- Forwarded message ----------

From: Mark S. Miller <>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
DanTup / simple_serialization_tests.dart
Created Aug 7, 2014 — forked from sethladd/simple_serialization_tests.dart
+ support for child objects (sorry if it's bad; written in Notepad and don't really know Dart!)
View simple_serialization_tests.dart
import 'dart:convert';
import 'package:smoke/smoke.dart' as smoke;
@MirrorsUsed(targets: const [SimpleWithMirrors, Simple], override: '*')
import 'dart:mirrors';
abstract class Serializable {
static fromJson(Type t, Map json) {
var typeMirror = reflectType(t);
T obj = typeMirror.newInstance(new Symbol(""), const[]).reflectee;
You can’t perform that action at this time.