

@classmethod
def populate_argument_parser(cls, parser):
    group = cls.add_argument_group('JSON format options')
    group.add_argument('--json', dest='json_dir', nargs='?', const=True, default=os.environ.get('GLUE_JSON', False), metavar='DIR', help='Generate JSON files and optionally where')
    group.add_argument('--json-format', dest='json_format', metavar='NAME', type=unicode, default=os.environ.get('GLUE_JSON_FORMAT', 'array'), choices=['array', 'hash'], help='JSON structure format (array, hash)')

dataset/ETHPy150Open jorgebastida/glue/glue/formats/jsonformat.py JSONFormat.populate_argument_parser/VarMisuse@17/20 `parser`->`cls`