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
Больше
1917. (2019)
April 6th, 1917. As an infantry battalion assembles to wage war deep in enemy territory, two...
The Thrilling World of Sports Events: Where Passion and Performance Collide
Sports events are more than just competitions; they are spectacles of human achievement, passion,...
The Best Branded Videos of All Time, Helpful Tips for Inspiration
Creating effective branded videos is a long-term process that requires constant creativity and...
50 artists that left a mark in history
50 artists and their works that have left a mark on history and people's hearts...
Amadeus. (1984)
The life, success and troubles of Wolfgang Amadeus Mozart, as told by Antonio Salieri, the...