Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Generates reports in JSON format.
Configuration example
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v4.0.0/rc.schema.json",
"plugins": [
{
"name": "JsonReporter",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll"
}
]
}
Configuration properties
None
Remarks
JsonReporter writes one file for each report produced by a reporting plugin when you stop recording. Files are named <ReportingPlugin>_JsonReporter.json, for example ExecutionSummaryPlugin_JsonReporter.json. All reports are strict JSON, so you can process them with standard JSON parsers, like JSON.parse in JavaScript or jq.
Note
Before Dev Proxy v4.1.0, JsonReporter saved the UrlDiscoveryPlugin report as JSON with comments (JSONC) to the UrlDiscoveryPlugin_JsonReporter.jsonc file.
By default, JsonReporter writes report files to the current working directory, which is the folder from which you started Dev Proxy. To write them to a different folder, set the reportsFolder setting in the configuration file or use the --report-dir option. Dev Proxy creates the folder if it doesn't exist.
When you stop recording using the Dev Proxy API, the response lists the absolute paths of the files that JsonReporter wrote in the reports property.
If a file with that name already exists in the folder, JsonReporter doesn't overwrite it. Instead, it appends a timestamp in the yyyyMMddHHmmss format to the file name, for example ExecutionSummaryPlugin_JsonReporter_20261105103000.json.
For more information, see Record and export proxy activity.