How to update in JSON with JS | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to update in JSON with JS

So, how do i exactly update a value in JSON with JavaScript with Node.js

17th Aug 2022, 3:44 PM
Tomoe
Tomoe - avatar
2 Respostas
+ 3
1. Read/ get the json string. 2. Convert it to js object. 3. Update 4. Convert it back to a json
17th Aug 2022, 4:28 PM
Lisa
Lisa - avatar
+ 3
For more information you can read here: https://www.w3schools.com/js/js_json_intro.asp
17th Aug 2022, 5:37 PM
JaScript
JaScript - avatar