ReportJsonExtensions Type
C#-friendly `ToReportJson()` overloads over `ReportJson`'s metadata — one compact JSON object per call, with no embedded newline, so appending `Environment.NewLine` (or `\n`) after it is a valid JSONL line. F# callers can use these too, or call `JsonSerializer.Serialize(value, ReportJson.OutcomeTypeInfo)` (etc.) directly.
Static members
| Static member |
Description
|
Full Usage:
ReportJsonExtensions.ToReportJson(evidence)
Parameters:
LimitEvidence
Returns: string
|
This resource-limit evidence as one JSONL report line (`ReportJson.LimitEvidenceTypeInfo`).
|
Full Usage:
ReportJsonExtensions.ToReportJson(memberInfo)
Parameters:
MemberInfo
Returns: string
|
This member snapshot as one JSONL report line (`ReportJson.MemberInfoTypeInfo`).
|
Full Usage:
ReportJsonExtensions.ToReportJson(profile)
Parameters:
RunProfile
Returns: string
|
This profile as one JSONL report line (`ReportJson.RunProfileTypeInfo`).
|
Full Usage:
ReportJsonExtensions.ToReportJson(stats)
Parameters:
ProcessGroupStats
Returns: string
|
This snapshot as one JSONL report line (`ReportJson.ProcessGroupStatsTypeInfo`).
|
Full Usage:
ReportJsonExtensions.ToReportJson(result)
Parameters:
ProcessResult<byte[]>
Returns: string
|
This result as one JSONL report line (`ReportJson.ProcessResultBytesTypeInfo`) — never the captured stdout/stderr.
|
Full Usage:
ReportJsonExtensions.ToReportJson(result)
Parameters:
ProcessResult<string>
Returns: string
|
This result as one JSONL report line (`ReportJson.ProcessResultStringTypeInfo`) — never the captured stdout/stderr.
|
Full Usage:
ReportJsonExtensions.ToReportJson(outcome)
Parameters:
Outcome
Returns: string
|
This outcome as one JSONL report line (`ReportJson.OutcomeTypeInfo`).
|
ProcessKit API Reference