JavaScript JSON.stringify()
Postado 2023-05-10 22:18:01
0
7KB
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);
Pesquisar
Categorias
- Arts
- Business
- Computers
- Jogos
- Health
- Início
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
TOP 15 Research Universities
The world was built as the product of intensive research. Most of the world's stunning...
The Third Man. (1949)
Pulp novelist Holly Martins travels to shadowy, postwar Vienna, only to find himself...
FOX 26, Live TV Houston USA.
Houston area news, weather, traffic, sports and breaking news from FOX 26 Houston. Watch live...
Gone Girl. (2014)
With his wife's disappearance having become the focus of an intense media circus, a man sees the...
Public Health and Safety: Ensuring Community Well-Being
Public health and safety are fundamental aspects of a thriving society, encompassing the measures...