struct Crystalizer::YAML::Serializer

Included Modules

Defined in:

yaml/serializer.cr

Constructors

Instance Method Summary

Instance methods inherited from module Crystalizer::Serializer

serialize(object : O) forall O serialize

Constructor Detail

def self.new(builder : ::YAML::Nodes::Builder) #

[View source]
def self.new(io : IO, & : Serializer -> ) : Nil #

[View source]

Instance Method Detail

def serialize(object : Crystalizer::Type) #

[View source]
def serialize(object : Crystalizer::Any) #

[View source]
def serialize(object : ::YAML::Serializable) #

[View source]
def serialize(hash : Hash) #

[View source]
def serialize(array : Array | Deque | Set | Tuple) #

[View source]
def serialize(named_tuple : NamedTuple) #

[View source]
def serialize(bool : Bool) #

[View source]
def serialize(object : Enum) #

[View source]
def serialize(null : Nil) #

[View source]
def serialize(object : Number | Path | String | Symbol) #

[View source]
def serialize(slice : Slice(UInt8)) #

[View source]
def serialize(time : Time) #

[View source]
def serialize(object : O) : Nil forall O #

[View source]