Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Excel to JSON through Indesign

Participant ,
Jun 08, 2022 Jun 08, 2022

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

TOPICS
Scripting
676
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 08, 2022 Jun 08, 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

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 09, 2022 Jun 09, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 09, 2022 Jun 09, 2022
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 09, 2022 Jun 09, 2022
LATEST

Hi Mike,
Thanks for the information. Actually we need to extract the content from Excel document and that content shoud be in JSON format. This is my requirement (see below screenshot). But in the given link, I unablet get required information, can you please advise?

Screenshot 2022-06-09 at 9.35.18 PM.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 08, 2022 Jun 08, 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 09, 2022 Jun 09, 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

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines