Built in parsing of a string to a Scala case object?

Is there any way to automatically parse a case object from a string, in Scala? Using some built in / automatically generated Scala function? For example, I have these case objects: (please note t...