config/grunt/tasks/generate_db.js
function saveCategoryList(categoryObject){
    var destinationPath = config.dest + 'db_category_list.json';
    grunt.file.write(destinationPath, JSON.stringify(categoryObject, null, 4));
    grunt.log.writeln('Prefixed file "' + destinationPath + '" created.');
  }
function saveCategoryList(categoryObject){
    var destinationPath = config.dest + 'db_category_list.json';
    grunt.file.write(destinationPath, JSON.stringify(categoryObject, null, 4));
    grunt.log.writeln('Prefixed file "' + destinationPath + '" created.');
  }
function saveCategoryList ( categoryObject ) { var destinationPath = config . dest + 'db_category_list.json' ; grunt . file . write ( destinationPath , JSON . stringify ( categoryObject , null , 4 ) ) ; grunt . log . writeln ( 'Prefixed file "' + destinationPath + '" created.' ) ; }
Save the category List as json file
@author Dariel Noel <darielnoel@gmail.com>
@since  2015-03-10
@param  {[type]}   categoryObject [description]
@return {[type]}                  [description]
Save the category List as json file