[]
Serializes a Report to JSON and writes it to a specified file.
public static void Save(Report report, FileInfo file)
| Type | Name | Description |
|---|---|---|
| Report | report | A Report instance to be serialized. |
| FileInfo | file | A file where the serialized JSON will be written. |
Serializes a Report to JSON and writes it to a specified stream.
public static void Save(Report report, Stream output)
| Type | Name | Description |
|---|---|---|
| Report | report | A Report instance to be serialized. |
| Stream | output | A Stream where the serialized JSON will be written. |