FromString
trait FromString[a: Type]SourceTrait for types that can be constructed from strings.
Instances
- Primitives
Unit, Bool, Char, Float32, Float64, BigDecimal, Int8, Int16, Int32, Int64, BigInt, String- Non-primitives
IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr
Signatures
def fromString(x: String): Option[a] with FromString[a]§ SourceOptionally returns the value associated with the given string s.