Skip to content

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;

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.