module Crystalizer::YAML
Extended Modules
Defined in:
yaml.cryaml/any.cr
yaml/deserializer.cr
yaml/serializer.cr
Class Method Summary
-
.deserialize(io : IO, to type : T.class) : T forall T
Deserializes a YAML document to a given type
T
. -
.deserialize(string : String, to type : T.class) : T forall T
Deserializes a YAML document to a given type
T
. -
.parse(string_or_io : String | IO) : Any
Deserializes a YAML document according to the core schema.
- .serialize(io : IO, object) : Nil
- .serialize(object) : String
Class Method Detail
Deserializes a YAML document to a given type T
.
Deserializes a YAML document to a given type T
.
Deserializes a YAML document according to the core schema.