JavaScript JSON.stringify()
Postado 2023-05-10 22:18:01
0
9K
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
FYRE: The Greatest Party That Never Happened. (2019)
An exclusive behind the scenes look at the infamous unraveling of the Fyre music festival.
My...
What Problem Does Your Product Solve?
Every successful product starts with a problem. In fact, most innovations are not born from a...
Earwig and the Witch. (2021)
An orphan girl, Earwig, is adopted by a witch and comes home to a spooky house filled with...
What Do You Like Most About Working for This Company?
During a job interview, one insightful question candidates often ask is: "What do you like most...
Exit Through the Gift Shop (2010)
Following the style of some of the world's most prolific street artists, an amateur filmmaker...