original_string: 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);
  		}
code: 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);
  		}
code_tokens: 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 ) ; }
docstring: Debugger to test json decode
  
  @param json is the json string
  
  @return json string
docstring_tokens: Debugger to test json decode