JavaScript JSON.stringify()
نشر بتاريخ 2023-05-10 22:18:01
0
9كيلو بايت
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
إقرأ المزيد
Шоу Трумана. The Truman Show. (1998)
Представьте себе, что вы вдруг начинаете понимать, что все вокруг вас — декорации, а люди...
Consumer goods
Consumer Goods – Definition and 4 TypesConsumer goods are final goods that households or...
Двойная страховка. Double Indemnity. (1944)
Сластолюбивый страховой агент Уолтер Нефф отправляется продлить полис на машину некоему мистеру...
Caribbean: all about the regions
Caribbean: all about the region and life on the islandsThe Caribbean is a region of peace between...
Proxy Webserver in Python
Socket programming in python is very user friendly as compared to c. The programmer need not...