This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Json.
Summary
Serializes an object to a JSON file.
Syntax
public static void SerializeJsonToFile<T>(this ICakeContext context, FilePath filename, T instance)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Type Parameters
Name |
Description |
T |
The type of object to serialize. |
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
filename |
FilePath |
The filename to serialize to. |
instance |
T |
The object to serialize. |
Return Value