fromJSON

Creates an instance of this class from its JSON representation.

Return

Instance of this class.

Parameters

obj

JSON object.