JavaScript JSON.stringify()
Postado 2023-05-10 22:18:01
0
6K
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
Телеканал ТВТУР.TV прямая трансляция Русский и English
Твтур.ТВ - телеканал об удивительных путешествиях по странам и континентам. Уникальные фильмы о...
Selling or Closing a Business: A Guide for Entrepreneurs
Whether you're looking to move on to new opportunities or simply want to exit your business,...
Огни большого города. City Lights. (1931)
Маленький Бродяга встречает красивую слепую девушку, торгующую цветами на улице, которая по...
Track and Field: Embracing the Essence of Athleticism
Track and field, the epitome of athletic prowess and human achievement, encompasses a diverse...
Timeline: Paying for college
Background
Throughout this section of the resource, we focus on what...