Serializing and Deserializing Either and Effect Types

Is there any easy way for from- / toJson of an Effect or more simple an Either? I noticed that an Either has a toJSON() method, but what about the other way around?
Was this page helpful?