JavaScript JSON.stringify()
Сообщение 2023-05-10 22:18:01
0
12Кб
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
Больше
Autism Spectrum: Education
Educational interventions often used include applied behavior analysis (ABA), developmental...
Dyslexia: Gene–environment interaction
The contribution of gene–environment interaction to reading disability has been intensely...
What Are the Risks of Taking a Loan — and How to Spot Predatory Lenders
What Are the Risks of Taking a Loan — and How to Spot Predatory Lenders
Loans can be...
Léon: The Professional. (1994)
12-year-old Mathilda is reluctantly taken in by Léon, a professional assassin, after her...
Tips for Choosing Toys
Toys are needed for the child not only for entertainment, but also for proper development. Now...