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
IEnumerable<T>
to a JSON string.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static string SerializeIssuesToJsonString(this ICakeContext context, IEnumerable<IIssue> issues)
Examples
Serializes a list of issues to a JSON string:
var jsonString =
SerializeIssuesToJsonString(issues);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
issues | IEnumerable |
Issues which should be serialized. |
Return Value
Type | Description |
---|---|
string | Serialized issues. |