Native JSON modules are finally real

“Native JSON modules are finally real” title, author photo, code snippets with JSON and CSS import attributesю Matt Smith, Modern Web Engineering.

Matt Smith explains how import attributes let you load JSON files directly with import data from 'data.json' with { type: 'json' }, no bundler required. Browsers and runtimes handle JSON modules natively with explicit type declarations, eliminating build-time transformations and establishing a foundation for future structured module types.

allthingssmitty.com/2026/03/16/native-json-modules-are-finally-real