Sign in Join
FPDoc Onlineexperiment

TPropertyMap.AddPath function

Member of TPropertyMappublicIn unit fpJsonToPas

Adds a new property mapping for the specified path

Declaration

pascal
function AddPath(const APath: string; const ATypeName: string)
: TPropertyMapItem

Arguments

APath

JSON path for the property mapping

ATypeName

Pascal type name for the property

Function result

The created TPropertyMapItem

Description

AddPath creates a new TPropertyMapItem for the given JSON path and type name. Returns the created mapping item for further configuration.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.