Lines Matching refs:json
51 json: Optional[str]
243 if request.json:
247 if request.json == 'stdout':
250 with open(request.json, 'w') as f:
253 os.path.abspath(request.json))
286 # $ kunit.py run --json
288 # $ kunit.py run --json suite_name
289 # would *not* pass suite_name as the filter_glob and print as json.
291 # $ kunit.py run --json=suite_name
292 # i.e. it would run all tests, and dump the json to a `suite_name` file.
293 # So we hackily automatically rewrite --json => --json=stdout
295 '--json': 'stdout',
411 parser.add_argument('--json',
450 json=cli_args.json,
497 json=cli_args.json,
523 json=cli_args.json)