Aliases.

DeserializeIssuesFromJsonFile(ICakeContext, FilePath) Method

Summary

Deserializes an System.Collections.Generic.IEnumerable`1 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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
filePath FilePath Path to the JSON file.

Return Value

Type Description
IEnumerable<Issue> List of issues.
GitHub