Skip to main content
Known Participant
June 8, 2022
Question

Excel to JSON through Indesign

  • June 8, 2022
  • 2 replies
  • 753 views

Hi,

Basically I am an Indesign script developer. I have an Excel content (attached), that content should be import into the Indesign Document. Excel document have multiple sheets. I have a code for import the JSON conent into the Indesign. So I plan to convert this Excel document into JSON and I will plan use my code to import the content into Indesign.
Can anyone help me to suggest Javascript code for convert the Excel to JSON.


Thanks
Asuvath

This topic has been closed for replies.

2 replies

Charu Rajput
Community Expert
Community Expert
June 8, 2022

Hello @Asuvath ,
May be you can try following if you are using the javascript.

https://stackoverflow.com/questions/27979002/convert-csv-data-into-json-format-using-javascript

Best regards
AsuvathAuthor
Known Participant
June 9, 2022

Hi Charu,

I have an excel document instead of CSV, so the script holding in the given link is not working for me. Can you please guide us bit more relavent to Excel to JSON conversion.

Thanks
Asuvath

 

Legend
June 8, 2022

Hello @Asuvath,

 

you can try one of these two free online Excel to JSON converters for your needs...

https://products.aspose.app/cells/conversion/excel-to-json

https://beautifytools.com/excel-to-json-converter.php

 

Regards,

Mike

 

AsuvathAuthor
Known Participant
June 9, 2022

Thanks Mike,
Actually I expect to develop the script for complete the task instead of the user go and upload the files in browser everytime.

Thanks

Legend
June 9, 2022