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

TPropertyMapItem

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

Collection item representing a single property mapping

Declaration

Source position: fpjsontopas.pp line 38

type TPropertyMapItem = class(TCollectionItem)

public

  procedure Assign(); override;

  

Assigns values from another TPropertyMapItem

  property Generated: Boolean; [r]

  

Indicates if this mapping was automatically generated

published

  property Path: string; [rw]

  

JSON path for this property mapping

  property TypeName: string; [rw]

  

Pascal type name for this property

  property ParentTypeName: string; [rw]

  

Base class name for generated objects

  property PropertyName: string; [rw]

  

Pascal property name

  property JSONType: TJSONtype; [rw]

  

JSON type for this property

  property SkipType: Boolean; [rw]

  

Skip generating class or array type for this property

end;

Inheritance

TPropertyMapItem

  

Collection item representing a single property mapping

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

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.


Documentation generated on: Jan 27 2026