ExportFormValuesToJSON
טקסט, חילוץ
תיאור
Writes every form field as an object with name and value keys into a JSON array, escaping quotes, backslashes and control characters
תחביר
Delphi
Function ExportFormValuesToJSON(IncludeEmpty: Integer): WideString;פרמטרים
| IncludeEmpty | 1 keeps fields whose value is blank, 0 skips them |
|---|
ערך מוחזר
מערך ה-JSON, או מחרוזת ריקה כשלא נבחר מסמך
הערות
Non-ASCII characters are emitted as \uXXXX escapes so the output is valid JSON in any encoding