original_string: public function export_data(array $subcontext, \stdClass $data) : content_writer {
          $path = $this->get_path($subcontext, 'data.json');
  
          $this->write_data($path, json_encode($data, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT));
  
          return $this;
      }
code: public function export_data(array $subcontext, \stdClass $data) : content_writer {
          $path = $this->get_path($subcontext, 'data.json');
  
          $this->write_data($path, json_encode($data, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT));
  
          return $this;
      }
code_tokens: public function export_data ( array $ subcontext , \ stdClass $ data ) : content_writer { $ path = $ this -> get_path ( $ subcontext , 'data.json' ) ; $ this -> write_data ( $ path , json_encode ( $ data , JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT ) ) ; return $ this ; }
docstring: Export the supplied data within the current context, at the supplied subcontext.
  
  @param   array           $subcontext The location within the current context that this data belongs.
  @param   \stdClass       $data       The data to be exported
  @return  content_writer
docstring_tokens: Export the supplied data within the current context at the supplied subcontext .