THPDFJSONValue.AddItem

Appends a value to this array and takes over its ownership

procedure AddItem(Val: THPDFJSONValue);

The unit is HPDFDocJobs; the appended value is freed by this container's destructor, so callers must not free it themselves

Calling AddItem on a non-array value is a usage error; check Kind beforehand

ItemCount and Item traverse the array once filled