Aliases.

SerializeIssueToJsonString(ICakeContext, IIssue) Method

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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
issue IIssue Issue which should be serialized.

Return Value

Type Description
string Serialized issue.