TPropertyMap class
Collection of property mapping items
Declaration
TPropertyMap = class(TCollection)Inheritance
- TPropertyMap
- TCollection
- TPersistent
- TObject
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.
Properties
Map | public | Indexed access to property mapping items |
Methods
AddPath | public | Adds a new property mapping for the specified path |
IndexOfPath | public | Returns the index of the mapping for the specified path |
FindPath | public | Finds the property mapping for the specified path |
Inherited
From TCollection (31)
Add Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount
From TPersistent (6)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
