deserialize<T> static method

T deserialize<T>(
  1. Map<String, dynamic> json
)

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);
}