
function JSONFormatter(){

}

/*
 * Every internal data structure are JSON by nature, them
 * no transformation is required
 */
JSONFormatter.prototype.format = function(payload){
  return payload;
};

JSONFormatter.prototype.toString = function(payload){
  return JSON.stringify(payload);
};

module.exports = JSONFormatter;


function JSONFormatter(){

}

/*
 * Every internal data structure is JSON by nature, so
 * no transformation is required
 */
JSONFormatter.prototype.format = function(payload){
  return payload;
};

JSONFormatter.prototype.toString = function(payload){
  return JSON.stringify(payload);
};

module.exports = JSONFormatter;

Fix minor typo in JSONFormatter comment
Fix minor typo in JSONFormatter comment

Signed-off-by: Daniel Bevenius <ae63d1d4d7994483a3e520cafec7a829fe25c0a1@gmail.com>
