• Constructs an entityDeserializer given the OData v2 or v4 specific methods. The concrete deserializers are created in odata/v2/entity-deserializer.ts and odata/v4/entity-deserializer.ts.

    Type Parameters

    • T extends DeSerializers<
          any,
          any,
          any,
          any,
          any,
          any,
          any,
          any,
          any,
          any,
          any,
          any,
          any,
          any,
      >

    Parameters

    • deSerializers: T

      (De-)serializers used for transformation.

    • extractODataETag: (json: Record<string, any>) => undefined | string

      Extractor for the ETag.

    • extractDataFromOneToManyLink: (data: any) => any[]

      Extractor for data related to one to many links.

    Returns EntityDeserializer

    An entity deserializer as defined by EntityDeserializer.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.