TJsonAbstractObjectConverterFactory Class
Abstract base class for object converter factories with configurable serialization behavior.
Remarks
Provides properties that control how object instances are serialized and deserialized, including reference tracking, type discriminators, circular-reference handling, unknown-member handling, and property inclusion rules.
Syntax
Unit: Bcl.Json.Converters
TJsonAbstractObjectConverterFactory = class(TInterfacedObject, IJsonConverterFactory);
Methods
| Name | Description |
|---|---|
| CreateConverter | Creates a converter for the specified type, or returns nil if not supported. |
| DoMemberIgnored | Fires the OnMemberIgnored callback, if assigned. |
Properties
| Name | Description |
|---|---|
| InclusionMode | Gets or sets the inclusion mode that controls when properties are serialized. |
| InstanceLoopHandling | Gets or sets how circular object references are handled during serialization. |
| InstanceRefSerialization | Gets or sets when instance reference identifiers are emitted. |
| InstanceType​Serialization | Gets or sets when type discriminators are emitted for polymorphic objects. |
| OnMemberIgnored | Gets or sets the callback invoked when a JSON member is ignored during deserialization. |
| UnknownMember​Handling | Gets or sets how unknown JSON members are handled during deserialization. |