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 file.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static void SerializeIssuesToJsonFile(this ICakeContext context, IEnumerable<IIssue> issues, FilePath filePath)
Examples
Serializes a list of issues to a JSON file:
SerializeIssuesToJsonFile(@"c:\issues.json");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
issues | IEnumerable |
Issues which should be serialized. |
filePath | FilePath | Path to the file. |
Return Value
Type | Description |
---|---|
void |