Summary
Allows you to specify metadata keys for each input document that should be serialized as properties in a JSON object.
- Assembly
- Wyam
.Json .dll - Namespace
- Wyam
.Json - Containing Type
- GenerateJson
Syntax
public GenerateJson(IEnumerable<string> keys, string destinationKey = null)
Parameters
| Name | Type | Description |
|---|---|---|
| keys | IEnumerable |
The metadata keys to serialize as properties. |
| destinationKey | string | The metadata key where the JSON should be stored (or null
to replace the content of each input document). |
Return Value
| Type | Description |
|---|---|
| void |
