JsonAliases.

DeserializeJsonFromFile<T>(ICakeContext, FilePath) Method

Summary

Deserializes the JSON from a file.
Assembly
Cake.Json.dll
Namespace
Cake.Json
Containing Type
JsonAliases

Syntax

public static T DeserializeJsonFromFile<T>(this ICakeContext context, FilePath filename)

Attributes

Type Description
CakeMethodAliasAttribute

Type Parameters

Name Description
T The type to deserialize to.

Parameters

Name Type Description
context ICakeContext The context.
filename FilePath The JSON filename.

Return Value

Type Description
T The Deserialized Object.