Table of Contents

TXDataServer.SerializeInstanceRef Property

Gets or sets when an instance reference (the $ref token) is used in JSON responses for an object that appears more than once.

Remarks

Defaults to IfRecursive, which is better suited for JavaScript and other non-Delphi clients, since they do not need to resolve the references. Clients can override this value per request using the xdata-serialize-instance-ref HTTP header.

Syntax

Unit: XData.Comp.Server

property TXDataServer.SerializeInstanceRef: TInstanceRefSerialization

See also