class drush_outputformat_json

  1. 8.0.x commands/core/outputformat/json.inc drush_outputformat_json
  2. 6.x commands/core/outputformat/json.inc drush_outputformat_json
  3. 7.x commands/core/outputformat/json.inc drush_outputformat_json
  4. master commands/core/outputformat/json.inc drush_outputformat_json

Output formatter 'json'

Hierarchy

Expanded class hierarchy of drush_outputformat_json

Members

File

commands/core/outputformat/json.inc, line 22

View source
class drush_outputformat_json extends drush_outputformat {
  function format($input, $metadata) {
    return drush_json_encode($input);
  }
}