THPDFJSONValue.GetBool

Reads an object member back as a Boolean

function GetBool(const Key: AnsiString; Def: Boolean = False): Boolean;

The unit is HPDFDocJobs; the default comes back when the member is missing or is neither true nor false

Other JSON kinds are not coerced, so a string "true" still yields the default

SetBoolMember writes the matching member