TJSONApplier.ForceCorrectType property
Controls whether to overwrite properties when types differ between source and apply JSON
Declaration
property ForceCorrectType: Boolean read FForceCorrectType write FForceCorrectType;Description
The
ForceCorrectType property determines the behavior when a property exists in both source and apply JSON objects but with different data types.
When
True, the property in the source is deleted and replaced with the property from the apply JSON.
When
False, properties with different types are handled according to their specific types (objects are merged recursively).
The default value is
False.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
