original_string: public function json($uriPattern, callable $controller)
      {
          return new IRoutePatternSetterAdapter(
              $this->getFrontController()->addController($uriPattern, $controller, '', 'application/json')->getPattern()
          );
      }
code: public function json($uriPattern, callable $controller)
      {
          return new IRoutePatternSetterAdapter(
              $this->getFrontController()->addController($uriPattern, $controller, '', 'application/json')->getPattern()
          );
      }
code_tokens: public function json ( $ uriPattern , callable $ controller ) { return new IRoutePatternSetterAdapter ( $ this -> getFrontController ( ) -> addController ( $ uriPattern , $ controller , '' , 'application/json' ) -> getPattern ( ) ) ; }
docstring: Adds a controller with a json format.
  
  @param string $uriPattern
  @param callable $controller
  @return IRoutePatternSetter
docstring_tokens: Adds a controller with a json format .