Web platform features explorer

JSON import attributes

Newly available since 2025-04-29
Tags: javascript Groups: JavaScript > JSON

Module import … with { type: "json" } statements load JSON data. Also known as JSON module scripts.

Specifications

Browser support

  • Chrome 123 Released on 2024-03-19
  • Chrome Android 123 Released on 2024-03-19
  • Edge 123 Released on 2024-03-22
  • Firefox 138 Released on 2025-04-29
  • Firefox for Android 138 Released on 2025-04-29
  • Safari 17.2 Released on 2023-12-11
  • Safari on iOS 17.2 Released on 2023-12-11

Interop