implicit final class StringOps extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StringOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new StringOps(str: String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def as[T](implicit c: YamlDecoder[T], settings: LoadSettings = LoadSettings.empty): Either[YamlError, T]
Parse YAML from the given String, returning either YamlError or T.
Parse YAML from the given String, returning either YamlError or T.
According to the specification: - Parser takes input string and produces sequence of events - then Composer produces a representation graph from events - finally YamlDecoder (construct phase from the YAML spec) constructs data type T from the YAML representation.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asMany[T](implicit c: YamlDecoder[T], settings: LoadSettings = LoadSettings.empty): Either[YamlError, List[T]]
Parse YAML from the given String, returning either YamlError or a list of T.
Parse YAML from the given String, returning either YamlError or a list of T. The error will be the first failure in parsing or converting to T.
- def asNode: Either[YamlError, Node]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val str: String
- def toString(): String
- Definition Classes
- Any