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
- Personal Development
- Recreation
- Regional
- Reference
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Личное развитие
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
إقرأ المزيد
What Is a Credit Score?
What Is a Credit Score?
A credit score is a three-digit number, usually ranging from 300 to 850,...
What Are the Pros and Cons of Billboard Advertising?
Billboard advertising is one of the oldest forms of marketing, yet it continues to be relevant in...
Apocalypse Now. (1979)
A U.S. Army officer serving in Vietnam is tasked with assassinating a renegade Special Forces...
B2B Marketing Often Targets a Buying Group—You Have to Define Each Member and Their Influence
Unlike B2C marketing, where a single individual often makes the purchase decision, B2B buying is...
Art periods
As long as we humans can use our hands, we create art. From the early cave paintings to the...