/**
* JSON descriptor.
*
* @author Jean-François Simon <contact@jfsimon.fr>
*
* @internal
*/
class JsonDescriptor extends Descriptor
{ protected function describeInputArgument(InputArgument
$argument, array
$options =
[]): void
{ $this->
writeData($this->
getInputArgumentData($argument),
$options);
} protected function describeInputOption(InputOption
$option, array
$options =
[]): void
{ $this->
writeData($this->
getInputOptionData($option),
$options);
if ($option->
isNegatable()) { $this->
writeData($this->
getInputOptionData($option, true
),
$options);
} } protected function describeInputDefinition(InputDefinition
$definition, array
$options =
[]): void
{