JavaScript JSON.stringify()
Сообщение 2023-05-10 22:18:01
0
11Кб
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);
Поиск
Категории
- Arts
- Business
- Computers
- Игры
- Health
- Главная
- Kids and Teens
- Деньги
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Больше
Is Credit Repair Legal?
Is Credit Repair Legal?
Credit plays a crucial role in modern financial life. Whether...
Man with a Movie Camera (1929)
A man travels around a city with a camera slung over his shoulder, documenting urban life with...
What Do You Like Most About Working for This Company?
During a job interview, one insightful question candidates often ask is: "What do you like most...
Interstellar. (2014)
A team of explorers travel through a wormhole in space in an attempt to ensure humanity's...
Man on Wire (2008)
A look at tightrope walker Philippe Petit's daring, but illegal, high-wire routine performed...