Unit 'fpjsonapply' Package
[Overview][Types][Classes][Index] [#fcl]

TJSONApplier.ForceCorrectType

Controls whether to overwrite properties when types differ between source and apply JSON

Declaration

Source position: fpjsonapply.pp line 82

published property TJSONApplier.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

TJSONApplier.Execute

  

Executes the JSON merge operation from apply JSON to source JSON

TJSONApplier.CaseInsensitive

  

Controls whether property name matching is case sensitive


Documentation generated on: Aug 28 2026 Report a problem on this page