var CSON = require('cson')
CSON.register() // Registers ".cson" extension
var object = require('./object.cson')
This is very similar to call CSON.parseFileSync, except that require() handles cache and it's sometimes convenient to rely on a generic API, so that you can change the backend whenever you would need it later.
Usage:
This is very similar to call
CSON.parseFileSync
, except thatrequire()
handles cache and it's sometimes convenient to rely on a generic API, so that you can change the backend whenever you would need it later.