Class: StringSerializer
Hierarchy​
BaseSerializer
<string
,string
,StringSerializationOptions
,StringSerializationOptions
>↳
StringSerializer
Constructors​
constructor​
• new StringSerializer(settings?
)
Parameters​
Name | Type |
---|---|
settings? | StringSerializerSettings |
Overrides​
Defined in​
Properties​
inflectors​
• inflectors: Dict
<Inflector
>
Defined in​
inverseInflectors​
• inverseInflectors: Dict
<InflectorOrName
>
Defined in​
serializerFor​
• Optional
serializerFor: SerializerForFn
<Serializer
<unknown
, unknown
, unknown
, unknown
>>
Inherited from​
Defined in​
Methods​
deserialize​
â–¸ deserialize(arg
, customOptions?
): string
Parameters​
Name | Type |
---|---|
arg | string |
customOptions? | StringSerializationOptions |
Returns​
string
Overrides​
Defined in​
serialize​
â–¸ serialize(arg
, customOptions?
): string
Parameters​
Name | Type |
---|---|
arg | string |
customOptions? | StringSerializationOptions |
Returns​
string