We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Create PDF using JSON input


Can Aspose.PDF Java create a PDF from a JSON input object? Please let us, this will help us a lot in acheiving major requirement.



Hi Rajesh,

Thanks for your inquiry. I am afraid currently Aspose.Pdf does not support to create PDF from JSON object. However we have logged your requirement as new feature PDFNEWJAVA-34403 in our issue tracking system for further investigation and implementation. We will keep you updated about the issue resolution progress.

We are sorry for the inconvenience caused.

Best Regards,

Hi Rajesh,

Aspose.Pdf for Java supports the feature to convert XML files to PDF format but the source XML should be according to Document Object Model of Aspose.Pdf. So as a workaround to your above stated requirement, you can first convert JSON object to XML format and then make the XML according to DOM of Aspose.Pdf. For further details, please visit

  • [Converting JSON to XML](http://stackoverflow.com/questions/19977979/converting-json-to-xml-in-java)
  • [Aspose.Pdf Document Object Model (DOM)](http://www.aspose.com/docs/display/pdfjava/Aspose.Pdf+Document+Object+Model+%28DOM%29)
  • [Introduction to XML Technologies](http://www.aspose.com/docs/display/pdfjava/Introduction+to+XML+Technologies)

.PS, I am not entirely certain if it will work, but its just a workaround.