index.js
//apply process function to json.
apply process function to json.
apply process function to json .
function applyProcess( process, json, file, closeFile, jb, filePath, postProcess, nextPlan){
  let normalized = normalizeProcess( process, process._plannedExecuter);
  var result = normalized(json, filePath.path(), normalized._plannedExecuter);
  if(result != undefined && result != null){
    postProcess(
      result,
      file,
      closeFile, 
      jb,
      filePath,
      nextPlan,
      normalized._plannedExecuter
    );
  }else{
    closeFile( function(){ nextPlan.exec( filePath )} );
  }
}
function applyProcess ( process , json , file , closeFile , jb , filePath , postProcess , nextPlan ) { let normalized = normalizeProcess ( process , process . _plannedExecuter ) ; var result = normalized ( json , filePath . path ( ) , normalized . _plannedExecuter ) ; if ( result != undefined && result != null ) { postProcess ( result , file , closeFile , jb , filePath , nextPlan , normalized . _plannedExecuter ) ; } else { closeFile ( function ( ) { nextPlan . exec ( filePath ) } ) ; } }
apply process function to json.
apply process function to json .
// guard from user handed process. //if result returned, execute PostProcess //executed after saved.