THPDFJSONValue.SetTextMember

Writes an object member as a Unicode string, replacing any existing member with the same key

procedure SetTextMember(const Key: AnsiString; const Value: UnicodeString);

The unit is HPDFDocJobs; the text is stored so that GetText returns it unchanged

Use SetStrMember when the source is already UTF-8 bytes

Member keys are UTF-8 bytes and case-sensitive