JsonAliases.

ParseJsonFromFile(ICakeContext, FilePath) Method

Summary

Parses the file contents into a JObject.
Assembly
Cake.Json.dll
Namespace
Cake.Json
Containing Type
JsonAliases

Syntax

public static JObject ParseJsonFromFile(this ICakeContext context, FilePath filename)

Attributes

Type Description
CakeMethodAliasAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
filename FilePath The filename to serialize from.

Return Value

Type Description
JObject The JObject.