JavaScript JSON.stringify()

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

Поиск
Категории
Больше
История
Хороший, плохой, злой. The Good, the Bad and the Ugly. (1966)
В разгар гражданской войны таинственный стрелок скитается по просторам Дикого Запада. У него нет...
От Nikolai Pokryshkin 2022-11-05 20:26:12 0 36Кб
Business
What daily habits do successful founders have?
Success in the startup world rarely happens by accident. Behind every thriving founder is a set...
От Dacey Rankins 2025-04-14 13:37:20 0 10Кб
Социальные проблемы
Ещё по одной. Another Round. (2020)
В ресторане собираются учитель истории, психологии, музыки и физрук, чтобы отметить 40-летие...
От Nikolai Pokryshkin 2022-10-10 17:38:27 0 33Кб
Yard, Deck, and Table Games
Why Do Children Play Yard Games in the Modern World
Why should children play yard games? Modern children are increasingly spending their free time...
От Dacey Rankins 2024-04-09 14:40:39 0 15Кб
Телевидение
Известия 78. ТВ он лайн.
Телевидение Петербурга. Новостные программы, благодаря которым вы оперативно получаете информацию...
От Nikolai Pokryshkin 2022-10-19 20:49:02 0 28Кб

BigMoney.VIP Powered by Hosting Pokrov