Interface representing the return type of the builder function entityDeserializer.

Hierarchy

  • EntityDeserializer

Properties

deserializeComplexType: ((json: Record<string, any>, complexType: ComplexTypeNamespace<any>) => any)

Type declaration

    • (json: Record<string, any>, complexType: ComplexTypeNamespace<any>): any
    • Method to deserialize the full entity from JSON to the complex type property.

      Parameters

      Returns any

deserializeEntity: (<EntityT>(json: any, entityApi: EntityApi<EntityT, any>, requestHeader?: any) => EntityT)

Type declaration

    • <EntityT>(json: any, entityApi: EntityApi<EntityT, any>, requestHeader?: any): EntityT
    • Method to deserialize the full entity from JSON to an entity object.

      Type Parameters

      Parameters

      • json: any
      • entityApi: EntityApi<EntityT, any>
      • Optional requestHeader: any

      Returns EntityT

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