Function: fromJSON() 
fromJSON<
T>(json):Maybe<T>
Given a MaybeJSON object, convert it into a Maybe.
Note that this is not designed for parsing data off the wire, but requires you to have already parsed it into the MaybeJSON format.
Type Parameters 
T 
T extends object
Parameters 
json 
MaybeJSON<T>
The value to convert to JSON
Returns 
Maybe<T>
The JSON representation of the Maybe