THPDFJSONValue.GetInt

Reads an object member as a 32-bit integer

function GetInt(const Key: AnsiString; Def: Integer = 0): Integer;

The unit is HPDFDocJobs; the default is returned when the member is missing or is not a number

The value is truncated from the stored double, matching JSON's single number domain

Use GetInt64 for 64-bit ranges and GetFloat for fractional values