JavaScript JSON.stringify()
Postado 2023-05-10 22:18:01
0
12K
A common use of JSON is to exchange data to/from a web server. When sending data to a web server, the data has to be a string. Here's an example:
const arr = ["John", "Peter", "Sally", "Jane"];const myJSON = JSON.stringify(arr);
Pesquisar
Categorias
- Arts
- Business
- Computers
- Jogos
- Health
- Início
- Kids and Teens
- Money
- News
- Personal Development
- Recreation
- Regional
- Reference
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Личное развитие
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia Mais
Музыкальный телеканал FreshTV
Видеоклипы звёзд российского шоу-бизнеса и молодых исполнителей всех музыкальных жанров,...
Léon: The Professional. (1994)
12-year-old Mathilda is reluctantly taken in by Léon, a professional assassin, after her...
Startup from A to Z: How to Turn an Idea into a Successful Business
Startup from A to Z: How to Turn an Idea into a Successful Business
Perhaps each of us at...
What Should Be in a Product Plan?
A product plan is one of the most important tools in product management. It provides clarity,...
Men's Health: Why Do Some Men Find It Difficult To Talk About Their Problems And Illnesses?
One of the main reasons why men find it difficult to discuss their health and problems is...