THPDFJSONValue.GetBool

Reads an object member as a Boolean

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

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

Other JSON kinds do not coerce, so a string "true" still yields the default

SetBoolMember writes the companion member