Sign in Join
FPDoc Onlineexperiment

TPropertyMap.IndexOfPath function

Member of TPropertyMappublicIn unit fpJsonToPas

Returns the index of the mapping for the specified path

Declaration

pascal
function IndexOfPath(const APath: string): Integer

Arguments

APath

JSON path to search for

Function result

Index of the mapping, or -1 if not found

Description

IndexOfPath searches for a property mapping with the given JSON path and returns its index. Returns -1 if no mapping is found for the specified path.

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