Class: NumberSerializer
Hierarchy​
BaseSerializer
<number
,number
>↳
NumberSerializer
Constructors​
constructor​
• new NumberSerializer(settings?
)
Parameters​
Name | Type |
---|---|
settings? | Object |
settings.deserializationOptions? | unknown |
settings.serializationOptions? | unknown |
settings.serializerFor? | SerializerForFn <Serializer <unknown , unknown , unknown , unknown >> |
Inherited from​
Defined in​
Properties​
serializerFor​
• Optional
serializerFor: SerializerForFn
<Serializer
<unknown
, unknown
, unknown
, unknown
>>
Inherited from​
Defined in​
Methods​
deserialize​
â–¸ deserialize(arg
): number
Parameters​
Name | Type |
---|---|
arg | number |
Returns​
number
Overrides​
Defined in​
serialize​
â–¸ serialize(arg
): number
Parameters​
Name | Type |
---|---|
arg | number |
Returns​
number