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

TPropertyMap

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Collection of property mapping items

Declaration

Source position: fpjsontopas.pp line 60

type TPropertyMap = class(TCollection)

public

  function AddPath();

  

Adds a new property mapping for the specified path

  function IndexOfPath();

  

Returns the index of the mapping for the specified path

  function FindPath();

  

Finds the property mapping for the specified path

  property Map []: TPropertyMapItem; default; [rw]

  

Indexed access to property mapping items

end;

Inheritance

TPropertyMap

  

Collection of property mapping items

|

TCollection

|

TPersistent

|

TObject,IFPObserved

Description

TPropertyMap is a collection that holds TPropertyMapItem instances. It provides methods to manage mappings between JSON paths and Pascal type information during code generation.

The collection allows you to customize how specific JSON properties are converted to Pascal code, override type names, and control the generation process for individual properties.


Documentation generated on: Jan 27 2026