THPDFJSONValue.Text

Returns the Unicode string held by a string value

property Text: UnicodeString read FStr;

The unit is HPDFDocJobs; values of other kinds return an empty string

Use Str for raw UTF-8 bytes and GetText to read an object member instead of this value