original_string: private function toJson($object, $view = null)
      {
          return json_encode($this->builder->buildRepresentation($object, $view));
      }
code: private function toJson($object, $view = null)
      {
          return json_encode($this->builder->buildRepresentation($object, $view));
      }
code_tokens: private function toJson ( $ object , $ view = null ) { return json_encode ( $ this -> builder -> buildRepresentation ( $ object , $ view ) ) ; }
docstring: Handles serializing an object to json
  
  @param      $object
  @param null $view
  @return string
docstring_tokens: Handles serializing an object to json