public function result() { # Get Incoming Data, decode and re-encode. # This format may change, so this method will allow us to shim in more config options for storage, later. (YAML?) $result = parent::result(); $data = json_decode($result); return json_encode($data); }
public function result() { // Convert all line-endings to UNIX format return str_replace(array("\r\n", "\r"), "\n", parent::result()); }