JavaScript JSON.stringify()
Сообщение 2023-05-10 22:18:01
0
6Кб
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
Больше
American Sniper. (2014)
Navy S.E.A.L. sniper Chris Kyle's pinpoint accuracy saves countless lives on the battlefield and...
Космическая одиссея 2001 года. 2001: A Space Odyssey. (1968)
Экипаж космического корабля «Дискавери» — капитаны Дэйв Боумэн, Фрэнк Пул и их...
Forrest Gump. (1994)
The presidencies of Kennedy and Johnson, the Vietnam War, the Watergate scandal and other...
Casino. (1995)
A tale of greed, deception, money, power, and murder occur between two best friends: a mafia...
FYRE: Величайшая вечеринка, которая не состоялась. FYRE: The Greatest Party That Never Happened. (2019)
Музыкальный фестиваль FYRE на частном острове на Багамах должен был стать самой крутой и...