Aliases.

DeserializeIssueFromJsonFile(ICakeContext, FilePath) Method

Summary

Deserializes an Issue from a JSON file.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
Aliases

Syntax

public static Issue DeserializeIssueFromJsonFile(this ICakeContext context, FilePath filePath)

Examples

Deserializes an issue from a JSON file:

var issue =
        DeserializeIssueFromJsonFile(@"c:\issue.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
Issue Instance of the issue.