I'm using pdf2json (https://github.com/modesty/pdf2json) to convert some PDF files to JSON. I am modifying the JSON files (the ones generated by pdf2json) and then I would like to obtain the corresponding PDF files using the modified JSON files. Is there a way to achieve this?
Thanks in advance.
As described by JohnWhitington the best JSon round trip for edits is probably cpdf as that is its aim in that area.
An alternative for generating from scratch or GO is http://pdfcpu.io/create/create. hence if you parse some existing textual source like JSon out from any app, into compatible input format you can build a fresh complex PDF with that simplistic source.
An absolute Cross Platform bargain at only 9.42 MB of usb space for windows
But then again we don't need any extra apps to generate PDF in Windows as it can do that using native constructs. Here I did not bother padding my words on line 5 from left to right automatically in notepad (my texpad.vbs) so it shows A PDF has no margins unless defined as voids or spaces (or tabs converted to such).