fromJson

abstract fun fromJson(json: T): R

Converts the given JSON into an instance of the parent type.

The return value of this method should be idempotent.

Return

A new instance of R.