ExportFormValuesToJSON

Texto, extraction

Descrição

Writes every form field as an object with name and value keys into a JSON array, escaping quotes, backslashes and control characters

Sintaxe

Delphi

Function ExportFormValuesToJSON(IncludeEmpty: Integer): WideString;

Parâmetros

IncludeEmpty1 keeps fields whose value is blank, 0 skips them

Valor de retorno

O array JSON, ou uma string vazia quando nenhum documento está selecionado

Observações

Non-ASCII characters are emitted as \uXXXX escapes so the output is valid JSON in any encoding

Veja também

GetFormValues, ExportFormDataToFDF