Skip to main content
Version: 0.17

Class: BooleanSerializer

Hierarchy​

Constructors​

constructor​

• new BooleanSerializer(settings?)

Parameters​

NameType
settings?Object
settings.deserializationOptions?unknown
settings.serializationOptions?unknown
settings.serializerFor?SerializerForFn<Serializer<unknown, unknown, unknown, unknown>>

Inherited from​

BaseSerializer.constructor

Defined in​

base-serializer.ts:15

Properties​

serializerFor​

• Optional serializerFor: SerializerForFn<Serializer<unknown, unknown, unknown, unknown>>

Inherited from​

BaseSerializer.serializerFor

Defined in​

base-serializer.ts:11

Methods​

deserialize​

â–¸ deserialize(arg): boolean

Parameters​

NameType
argboolean

Returns​

boolean

Overrides​

BaseSerializer.deserialize

Defined in​

boolean-serializer.ts:8


serialize​

â–¸ serialize(arg): boolean

Parameters​

NameType
argboolean

Returns​

boolean

Overrides​

BaseSerializer.serialize

Defined in​

boolean-serializer.ts:4