Write Json data to Json file using Javascript

g h 716 Reputation points
2020-10-19T02:46:39.593+00:00

In SharePoint page, I want to Write Json data to Json file using Javascript.

Can this be done using just JavaScript without any Server Side Code ?

Microsoft 365 and Office SharePoint Server Development
0 comments No comments
{count} votes

Accepted answer
  1. ZhengyuGuo 10,586 Reputation points Moderator
    2020-10-19T07:55:57.847+00:00

    Hi @g h ,

    It's necessary to use Node.js to save json data into Json file, there is no direct way to achieve using JavaScript:

    Saving Data to JSON File with Node.js - Programming with Text

    Write / add data in JSON file using Node.js


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.