Skip to main content
Version: 0.17

Class: NumberSerializer

Hierarchy​

Constructors​

constructor​

• new NumberSerializer(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): number

Parameters​

NameType
argnumber

Returns​

number

Overrides​

BaseSerializer.deserialize

Defined in​

number-serializer.ts:8


serialize​

â–¸ serialize(arg): number

Parameters​

NameType
argnumber

Returns​

number

Overrides​

BaseSerializer.serialize

Defined in​

number-serializer.ts:4