Current File : //lib/node_modules/bower/lib/node_modules/cardinal/examples/highlight-json.js
// This file will highlight the passed code using the custom theme when run via: "node highlight-json"

var cardinal = require('..');

var json = JSON.stringify({
  foo: 'bar',
  baz: 'quux'
});

console.log(cardinal.highlight(json, {json: true}));