JsonAliases.

DeserializeJson<T>(ICakeContext, string) Method

Summary

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

Syntax

public static T DeserializeJson<T>(this ICakeContext context, string json)

Attributes

Type Description
CakeMethodAliasAttribute

Type Parameters

Name Description
T The type to deserialize to.

Parameters

Name Type Description
context ICakeContext The context.
json string The JSON string.

Return Value

Type Description
T The Deserialized Object.