🍋
Menu
Web

Web Manifest

Web App Manifest

A JSON file providing metadata for a progressive web app, including its name, icons, theme color, and display mode.

기술 세부사항

Web Manifest is part of the web platform's core infrastructure. Modern browsers implement json through standardized Web APIs, ensuring consistent behavior across Chrome, Firefox, Safari, and Edge. The relevant specifications are maintained by the W3C, WHATWG, or IETF. Understanding the underlying protocol or mechanism helps developers use web manifest correctly, avoid common pitfalls, and optimize for performance and security.

예시

```javascript
// JSON parse with reviver function
const data = JSON.parse(text, (key, val) => {
  if (key === 'date') return new Date(val);
  return val;
});

// JSON stringify with replacer and indentation
JSON.stringify(data, ['name', 'email'], 2);
```

관련 포맷

관련 도구

관련 용어