Sign in Join
FPDoc Onlineexperiment

TPropertyMapItem class

In unit fpJsonToPas

Collection item representing a single property mapping

Declaration

pascal
TPropertyMapItem = class(TCollectionItem)

Inheritance

  1. TPropertyMapItem
  2. TCollectionItem
  3. TPersistent
  4. 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

GeneratedpublicIndicates if this mapping was automatically generated
PathpublishedJSON path for this property mapping
TypeNamepublishedPascal type name for this property
ParentTypeNamepublishedBase class name for generated objects
PropertyNamepublishedPascal property name
JSONTypepublishedJSON type for this property
SkipTypepublishedSkip generating class or array type for this property

Methods

AssignpublicAssigns 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.