Skip to content

TOwnsJSON

Enumeration values for JSON object ownership control

Declaration

Source position: fpjsonapply.pp line 32

type
  TOwnsJSON = (ojSource,ojApply)

Values

Value Description
ojSource The source JSON object is owned by the applier component
ojApply The apply JSON object is owned by the applier component

Description

The TOwnsJSON enumeration defines which JSON objects are owned by the TJSONApplier component. When a JSON object is owned, it will be automatically freed when the component is destroyed or when a new object is assigned.

ojSource
The source JSON object is owned by the applier component
ojApply
The apply JSON object is owned by the applier component

See also

Name Description
TOwnsJSONs Set of JSON object ownership flags
TJSONApplier.OwnsJSON Set specifying which JSON objects are owned by the component