Skip to content

class Athena::Serializer::Visitors::JSONSerializationVisitor
inherits Reference #

Included modules

Athena::Serializer::Visitors::SerializationVisitorInterface

Class methods#

.new(io : IO, named_args : NamedTuple) #

View source

Methods#

#finish : Nil #

View source

#prepare : Nil #

View source

#visit(properties : Array(PropertyMetadataBase)) : Nil #

:inherit:

View source

#visit(data : Nil) : Nil #

View source

#visit(data : String | Symbol) : Nil #

View source

#visit(data : Number) : Nil #

View source

#visit(data : Bool) : Nil #

View source

#visit(data : Hash | NamedTuple) : Nil #

View source

#visit(data : Enumerable) : Nil #

View source

#visit(data : Time) : Nil #

View source

#visit(data : Enum) : Nil #

View source

#visit(data : UUID) : Nil #

View source

#visit(data : ASR::Model) : Nil #

View source

#visit(data : ASR::Any) : Nil #

View source

#visit(data : _) : Nil #

View source