PDFDocument.Template
From Xojo Documentation
Method
Returns a JSONItem that represents the PDFDocument in JSON format.
Notes
This JSON data can be passed into the PDFDocument constructor to create a PDFDocument effectively making this data act as a template.