struct Crystalizer::YAML::Deserializer

Included Modules

Defined in:

yaml/deserializer.cr

Constructors

Instance Method Summary

Instance methods inherited from module Crystalizer::Deserializer

deserialize(to type : T.class) forall T deserialize

Constructor Detail

def self.new(context : ::YAML::ParseContext, node : ::YAML::Nodes::Node) #

[View source]
def self.new(string_or_io : String | IO) : Deserializer #

[View source]

Instance Method Detail

def deserialize(to type : Crystalizer::Type.class) #

[View source]
def deserialize(to type : ::YAML::Serializable.class | Any.class) #

[View source]
def deserialize(to type : Hash.class) #

[View source]
def deserialize(to type : Array.class | Deque.class | Set.class) #

[View source]
def deserialize(to type : Tuple.class) #

[View source]
def deserialize(to type : ::NamedTuple.class) #

[View source]
def deserialize(to type : Enum.class) #

[View source]
def deserialize(to type : Bool.class | Nil.class | Time.class | Slice(UInt8).class) #

[View source]
def deserialize(to float : Float.class) #

[View source]
def deserialize(to int : Int.class) #

[View source]
def deserialize(to type : Path.class) #

[View source]
def deserialize(to type : String.class) #

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

[View source]
def new(node : ::YAML::Nodes::Node) #

[View source]