Skip to main content
Version: 0.17

Class: JSONAPIResourceFieldSerializer

Hierarchy​

  • StringSerializer

    ↳ JSONAPIResourceFieldSerializer

Constructors​

constructor​

• new JSONAPIResourceFieldSerializer(settings?)

Parameters​

NameType
settings?StringSerializerSettings

Inherited from​

StringSerializer.constructor

Defined in​

packages/@orbit/serializers/dist/modules/string-serializer.d.ts:18

Properties​

inflectors​

• inflectors: Dict<Inflector>

Inherited from​

StringSerializer.inflectors

Defined in​

packages/@orbit/serializers/dist/modules/string-serializer.d.ts:16


inverseInflectors​

• inverseInflectors: Dict<InflectorOrName>

Inherited from​

StringSerializer.inverseInflectors

Defined in​

packages/@orbit/serializers/dist/modules/string-serializer.d.ts:17


serializerFor​

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

Inherited from​

StringSerializer.serializerFor

Defined in​

packages/@orbit/serializers/dist/modules/base-serializer.d.ts:4

Methods​

deserialize​

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

Parameters​

NameType
argstring
customOptions?JSONAPIResourceFieldSerializationOptions

Returns​

string

Overrides​

StringSerializer.deserialize

Defined in​

packages/@orbit/jsonapi/src/serializers/jsonapi-resource-field-serializer.ts:19


serialize​

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

Parameters​

NameType
argstring
customOptions?JSONAPIResourceFieldSerializationOptions

Returns​

string

Overrides​

StringSerializer.serialize

Defined in​

packages/@orbit/jsonapi/src/serializers/jsonapi-resource-field-serializer.ts:12