Interface representing the return type of the builder function entityDeserializer.

interface EntityDeserializer {
    deserializeComplexType: ((json: Record<string, any>, complexType: ComplexTypeNamespace<any>) => any);
    deserializeEntity: (<EntityT>(json: any, entityApi: EntityApi<EntityT, any>, requestHeader?: any) => EntityT);
}

Properties

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

Method to deserialize the full entity from JSON to the complex type property.

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

Method to deserialize the full entity from JSON to an entity object.

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