GitHub - systemjs/plugin-json: JSON loader plugin

Skip to content

Navigation Menu

Sign in

Appearance settings

This repository was archived by the owner on Oct 9, 2020. It is now read-only.

plugin-json

CDNJS

JSON loader plugin

Configuration

To load all URLs with .json filename extension via this plugin:

SystemJS.config({
  map: { 'plugin-json': 'plugin-json/json.js' },
  meta: { '*.json': { loader: 'plugin-json' } }
});

Testing this project

browse to http://localhost:3000/test and open the browser's development console. You should see the json object logged.