Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

update file json trong javascript

//change the value in the in-memory object
content.val1 = 42;
//Serialize as JSON and Write it to a file
fs.writeFileSync(filename, JSON.stringify(content));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #file #json #trong #javascript
ADD COMMENT
Topic
Name
7+3 =