module Crystalizer::YAML

Extended Modules

Defined in:

yaml.cr
yaml/any.cr
yaml/deserializer.cr
yaml/serializer.cr

Class Method Summary

Class Method Detail

def self.deserialize(io : IO, to type : T.class) : T forall T #

Deserializes a YAML document to a given type T.


[View source]
def self.deserialize(string : String, to type : T.class) : T forall T #

Deserializes a YAML document to a given type T.


[View source]
def self.parse(string_or_io : String | IO) : Any #

Deserializes a YAML document according to the core schema.


[View source]
def self.serialize(io : IO, object) : Nil #

[View source]
def self.serialize(object) : String #

[View source]