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
Deserializes an
IEnumerable<T>
from a JSON file.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static IEnumerable<Issue> DeserializeIssuesFromJsonFile(this ICakeContext context, FilePath filePath)
Examples
Deserializes a list of issue from a JSON file:
var issues =
DeserializeIssuesFromJsonFile(@"c:\issues.json");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
filePath | FilePath | Path to the JSON file. |
Return Value
Type | Description |
---|---|
IEnumerable |
List of issues. |