crystalizer
master
Crystalizer
Any
Error
ByteFormat
Error
Deserializer
NamedTupleObject
Error
NonSelfDescribingObject
Object
Error
SelfDescribingObject
Field
Format
JSON
Any
Error
Type
Deserializer
Error
Serializer
Object
Serializer
Type
Variable
YAML
Any
Error
Type
Deserializer
Error
Serializer
struct
Crystalizer::Variable(T, A)
Crystalizer::Variable(T, A)
Struct
Value
Object
Overview
Holds variable metadata with its annotations.
Defined in:
variable.cr
Constructors
.new
(type :
T
.
class
, annotations : A, nilable : Bool, has_default : Bool)
Instance Method Summary
#annotations
: A
#has_default
: Bool
#nilable
: Bool
#type
:
T
.
class
Constructor Detail
def self.
new
(type :
T
.
class
, annotations : A, nilable : Bool, has_default : Bool)
#
[
View source
]
Instance Method Detail
def
annotations
: A
#
[
View source
]
def
has_default
: Bool
#
[
View source
]
def
nilable
: Bool
#
[
View source
]
def
type
:
T
.
class
#
[
View source
]