This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.
Summary
Serializes an
IIssue
to a JSON string.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static string SerializeIssueToJsonString(this ICakeContext context, IIssue issue)
Examples
Serializes an issue to a JSON string:
var jsonString =
SerializeIssueToJsonString(issue);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
issue | IIssue | Issue which should be serialized. |
Return Value
Type | Description |
---|---|
string | Serialized issue. |