Accessibility Inspector -> Audit Report: Add JSON as an export format for reports

Originator:leopic
Number:rdar://FB7692841 Date Originated:05/07/2020
Status:Open Resolved:
Product:Xcode Product Version:Version 11.4.1 (11E503a)
Classification:Suggestion Reproducible:
 
Please describe the issue:
Currently the only available format for Audit Reports is HTML, which makes data handling and parsing complicated.

Here is a proposed schema of a JSON structure:
```json
	{
	"issues": [{
		"issueNumber": 1,
		"errorCode": 13,
		"shortDescription": "Contrast failed",
		"longDescription": "Contrast failed for NSAccessibilityReparentingCellProxy leo@LeoMBP: /Applications/Xcode.app/Contents/Applications",
		"img": "base64-img"
	}]
}
```

This format would allow for the reports to be handled in an easier manner in CI/CD environment.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!