Skip to content
JSON loader plugin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
json.js
package.json

README.md

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

npm test

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

You can’t perform that action at this time.