Returns the field value for a class or coproduct option name.
Returns the field value for a class or coproduct option name.
the name of the class or coproduct option
the field value associated with the given class or coproduct option name.
Given a ConfigValue for the sealed family, disambiguate and extract the ConfigValue associated to the
implementation for the given class or coproduct option name.
Given a ConfigValue for the sealed family, disambiguate and extract the ConfigValue associated to the
implementation for the given class or coproduct option name.
If cv is a config for the given class name, this method returns Right(Some(v)), where v is the config
related to the specific class (possibly the same as cv). If it determines that cv is a config for a different
class, it returns Right(None). If cv is missing information for disambiguation or has a wrong type, a
Left containing a Failure is returned.
a ConfigCursor at the sealed family option
the name of the class or coproduct option to try
a Either[ConfigReaderFailure, Option[ConfigValue]] as defined above.
Given the ConfigValue for a specific class or coproduct option, encode disambiguation information and return a
config for the sealed family or coproduct.
Given the ConfigValue for a specific class or coproduct option, encode disambiguation information and return a
config for the sealed family or coproduct.
the ConfigValue of the class or coproduct option
the name of the class or coproduct option
the config for the sealed family or coproduct wrapped in a Right, or a Left with the failure if some error
occurred.
Defines what to do if from returns Success(Some(_)) for a class or coproduct option, but its ConfigConvert
fails to deserialize the config.
Defines what to do if from returns Success(Some(_)) for a class or coproduct option, but its ConfigConvert
fails to deserialize the config.
the name of the class or coproduct option
true if the next class or coproduct option should be tried, false otherwise.
Hint where the options are disambiguated by a
key = "value"field inside the config.This hint will cause derived
ConfigConvertinstance to fail to convert configs to objects if the object has a field with the same name as the disambiguation key.By default, the field value written is the class or coproduct option name converted to lower case. This mapping can be changed by overriding the method
fieldValueof this class.