Form.ExportJson
Form.ExportJson method
Exports the contents of all fields in the document into a JSON stream. Button field values are not exported.
public void ExportJson(Stream outputJsonStream, bool indented = true)
Parameter | Type | Description |
---|---|---|
outputJsonStream | Stream | The output JSON stream where the document’s fields data will be written. |
indented | Boolean | Optional. Specifies whether the JSON output should be indented for better readability. The default value is true. |
Examples
Form form = new Form("PdfForm.pdf");
FileStream fs = new FileStream("export.json", FileMode.Create, FileAccess.Write);
form.ExportJson(fs);
fs.Close();
See Also
- class Form
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF