object YAML
Uses an instance of a ScalaObjectMapper configured to not perform any type of validation. Inspired by https://www.scala-lang.org/api/2.12.6/scala-parser-combinators/scala/util/parsing/json/JSON$.html.
- Note
This is only intended for use from Scala (not Java).
- See also
- Alphabetic
- By Inheritance
- YAML
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parse[T](f: File)(implicit arg0: Manifest[T]): Option[T]
Simple utility to load a YAML file and parse contents into an Option[T] type.
Simple utility to load a YAML file and parse contents into an Option[T] type.
- Note
the caller is responsible for managing the lifecycle of the given File.
-
def
parse[T](input: InputStream)(implicit arg0: Manifest[T]): Option[T]
Simple utility to parse a YAML InputStream into an Option[T] type.
Simple utility to parse a YAML InputStream into an Option[T] type.
- Note
the caller is responsible for managing the lifecycle of the given InputStream.
-
def
parse[T](input: Buf)(implicit arg0: Manifest[T]): Option[T]
Simple utility to parse a YAML Buf into an Option[T] type.
-
def
parse[T](input: String)(implicit arg0: Manifest[T]): Option[T]
Simple utility to parse a YAML string into an Option[T] type.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
write(any: Any): String
Simple utility to write a value as a YAML encoded String.
- object Resource