fromJson<T> abstract method

T fromJson<T>(
  1. String json
)

Decodes a json string to a given type T.

This is a typed wrapper around the fromValue method.

Implementation

T fromJson<T>(String json);