Declaration¶
Source position: fpjsontopas.pp line 38
type
TPropertyMapItem = class(TCollectionItem)
public
procedure Assign;
property Generated: Boolean; {r}
published
property Path: string; {rw}
property TypeName: string; {rw}
property ParentTypeName: string; {rw}
property PropertyName: string; {rw}
property JSONType: TJSONtype; {rw}
property SkipType: Boolean; {rw}
end;
Inheritance¶
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¶
| Member | Visibility | Description |
|---|---|---|
| Generated read only | public | Indicates if this mapping was automatically generated |
| JSONType | published | JSON type for this property |
| ParentTypeName | published | Base class name for generated objects |
| Path | published | JSON path for this property mapping |
| PropertyName | published | Pascal property name |
| SkipType | published | Skip generating class or array type for this property |
| TypeName | published | Pascal type name for this property |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Assign | public | Assigns values from another TPropertyMapItem |