deserialize<T> static method
deserialize an 'JSON' to the specified class
T
the expected type
json
a 'JSON' map
Implementation
static T deserialize<T>(Map<String,dynamic> json) {
return JSON.instance.getMapper(T).deserialize<T>(json);
}