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 the Difference Between a Business Plan and a Business Model?
This question often comes up as people try to clarify the distinction between two critical...
What Are Examples of Successful Crisis Management Strategies?
Crisis management is the process of preparing for and responding to an unexpected, disruptive...
The economics of pollution
Key Points
Economic production can cause environmental damage. This tradeoff...
How Long Should a Facebook Ad Campaign Run?
One of the most common—and costly—mistakes advertisers make with Facebook ads is...
Unforgiven. (1992)
Retired Old West gunslinger William Munny reluctantly takes on one last job, with the help of his...