Summary
Serializes an System.Collections.Generic.IEnumerable`1
to a JSON file.
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 |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
issues |
IEnumerable<IIssue> |
Issues which should be serialized. |
filePath |
FilePath |
Path to the file. |
Return Value