Answer Posted / Vipin Roy
In JavaScript, you can use the built-in function `JSON.stringify()` to convert a JavaScript object or value to a JSON string. Here's an example: `let obj = { name: 'John', age: 30 }; let json = JSON.stringify(obj);`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category