public function debug_decode($json,$assoc=false,$depth=512,$options=0){
			$test = json_decode($json,$assoc,$depth,$options);
			if (!empty($test)) $json = $test;
			$data = $this->errorMessage(json_last_error(),$json);
			return json_encode($data,JSON_PRETTY_PRINT);
		}