JavaScript JSON.stringify()

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);

Поиск
Категории
Больше
Истории
American Sniper. (2014)
Navy S.E.A.L. sniper Chris Kyle's pinpoint accuracy saves countless lives on the battlefield and...
От Leonard Pokrovski 2023-05-24 19:09:33 0 25Кб
Научная фантастика и фэнтези
Космическая одиссея 2001 года. 2001: A Space Odyssey. (1968)
Экипаж космического корабля «Дискавери» — капитаны Дэйв Боумэн, Фрэнк Пул и их...
От Nikolai Pokryshkin 2023-01-10 11:12:11 0 26Кб
Life Issues
Forrest Gump. (1994)
The presidencies of Kennedy and Johnson, the Vietnam War, the Watergate scandal and other...
От Leonard Pokrovski 2022-11-09 20:02:22 0 20Кб
Social Issues
Casino. (1995)
A tale of greed, deception, money, power, and murder occur between two best friends: a mafia...
От Leonard Pokrovski 2023-02-11 19:54:34 0 16Кб
Другое
FYRE: Величайшая вечеринка, которая не состоялась. FYRE: The Greatest Party That Never Happened. (2019)
Музыкальный фестиваль FYRE на частном острове на Багамах должен был стать самой крутой и...
От Nikolai Pokryshkin 2023-06-01 19:25:25 0 27Кб
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov