Form.ImportJson

Form.ImportJson method

Imports all field data from a JSON stream into the document fields, matching the fields by their full names.

public void ImportJson(Stream inputJsonStream)
ParameterTypeDescription
inputJsonStreamStreamThe input JSON stream containing the field data to be imported into the document fields.

Examples

Form form = new Form("PdfForm.pdf", "Form_ImportJson.pdf");
Stream fs = new FileStream("export_old.json", FileMode.Open, FileAccess.Read);
form.ImportJson(fs);
fs.Close();
form.Save();

See Also