Skip to main content
Version: 0.17

Class: StringSerializer

Hierarchy​

Constructors​

constructor​

• new StringSerializer(settings?)

Parameters​

NameType
settings?StringSerializerSettings

Overrides​

BaseSerializer.constructor

Defined in​

string-serializer.ts:32

Properties​

inflectors​

• inflectors: Dict<Inflector>

Defined in​

string-serializer.ts:29


inverseInflectors​

• inverseInflectors: Dict<InflectorOrName>

Defined in​

string-serializer.ts:30


serializerFor​

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

Inherited from​

BaseSerializer.serializerFor

Defined in​

base-serializer.ts:11

Methods​

deserialize​

â–¸ deserialize(arg, customOptions?): string

Parameters​

NameType
argstring
customOptions?StringSerializationOptions

Returns​

string

Overrides​

BaseSerializer.deserialize

Defined in​

string-serializer.ts:63


serialize​

â–¸ serialize(arg, customOptions?): string

Parameters​

NameType
argstring
customOptions?StringSerializationOptions

Returns​

string

Overrides​

BaseSerializer.serialize

Defined in​

string-serializer.ts:49