• 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.

    Returns

    An entity deserializer as defined by EntityDeserializer.

    Type Parameters

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

    Parameters

    • deSerializers: T

      (De-)serializers used for transformation.

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

      Extractor for the ETag.

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

          • json: Record<string, any>

          Returns undefined | string

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

      Extractor for data related to one to many links.

        • (data: any): any[]
        • Parameters

          • data: any

          Returns any[]

    Returns EntityDeserializer

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