TPropertyMapItem class
Collection item representing a single property mapping
Declaration
TPropertyMapItem = class(TCollectionItem)Inheritance
- TPropertyMapItem
- TCollectionItem
- TPersistent
- TObject
Description
TPropertyMapItem represents a mapping between a JSON path and Pascal type information.
It stores details about how a specific JSON property should be converted to Pascal code, including type names, property names, and generation options.
Each item corresponds to a JSON property path and contains information about the Pascal type to generate, the parent class, and various options that control code generation for that specific property.
Properties
Generated | public | Indicates if this mapping was automatically generated |
Path | published | JSON path for this property mapping |
TypeName | published | Pascal type name for this property |
ParentTypeName | published | Base class name for generated objects |
PropertyName | published | Pascal property name |
JSONType | published | JSON type for this property |
SkipType | published | Skip generating class or array type for this property |
Methods
Assign | public | Assigns values from another TPropertyMapItem |
Inherited
From TCollectionItem (13)
Changed Collection Create Destroy DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex
From TPersistent (5)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
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.
