original_string: public function jsonSerialize() {
  		$json = array();
  
  		foreach(get_object_vars($this) as $var => $val) {
  			if($val instanceof \DateTime)
  				$json[$var] = $val->getTimestamp();
  			else
  				$json[$var] = $val;
  		}
  
  		return $json;
  	}
code: public function jsonSerialize() {
  		$json = array();
  
  		foreach(get_object_vars($this) as $var => $val) {
  			if($val instanceof \DateTime)
  				$json[$var] = $val->getTimestamp();
  			else
  				$json[$var] = $val;
  		}
  
  		return $json;
  	}
code_tokens: public function jsonSerialize ( ) { $ json = array ( ) ; foreach ( get_object_vars ( $ this ) as $ var => $ val ) { if ( $ val instanceof \ DateTime ) $ json [ $ var ] = $ val -> getTimestamp ( ) ; else $ json [ $ var ] = $ val ; } return $ json ; }
docstring: Get a json serialized version of this object.
  @return array
docstring_tokens: Get a json serialized version of this object .