JavaScript JSON.stringify()
Postado 2023-05-10 22:18:01
0
12KB
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
- Personal Development
- Recreation
- Regional
- Reference
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Личное развитие
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
Adhd: Symptoms Pt.2
Inattention
Six or more of the following symptoms in children, and five or more in adults,...
Stress ball Benefits
The Health Benefits of Stress Balls
Stress balls were originally intended to be used for...
Once Upon a Time in the West (1968)
A mysterious stranger with a harmonica joins forces with a notorious desperado to protect a...
For a Few Dollars More. (1965)
Two bounty hunters with the same intentions team up to track down an escaped Mexican outlaw....
How Can Social Media Help Business Growth?
In the modern digital economy, businesses of all sizes—from local startups to global...