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

TPropertyMap.IndexOfPath

Returns the index of the mapping for the specified path

Declaration

Source position: fpjsontopas.pp line 66

public function TPropertyMap.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.


Documentation generated on: Jan 27 2026