original_string: private function generateModuleJsonFile()
      {
          $path = $this->module->getModulePath($this->getName()) . 'module.json';
  
          if (!$this->filesystem->isDirectory($dir = dirname($path))) {
              $this->filesystem->makeDirectory($dir, 0775, true);
          }
  
          $this->filesystem->put($path, $this->getStubContents('json'));
      }
code: private function generateModuleJsonFile()
      {
          $path = $this->module->getModulePath($this->getName()) . 'module.json';
  
          if (!$this->filesystem->isDirectory($dir = dirname($path))) {
              $this->filesystem->makeDirectory($dir, 0775, true);
          }
  
          $this->filesystem->put($path, $this->getStubContents('json'));
      }
code_tokens: private function generateModuleJsonFile ( ) { $ path = $ this -> module -> getModulePath ( $ this -> getName ( ) ) . 'module.json' ; if ( ! $ this -> filesystem -> isDirectory ( $ dir = dirname ( $ path ) ) ) { $ this -> filesystem -> makeDirectory ( $ dir , 0775 , true ) ; } $ this -> filesystem -> put ( $ path , $ this -> getStubContents ( 'json' ) ) ; }
docstring: Generate the module.json file
docstring_tokens: Generate the module . json file