Summary
The object returned by the specified delegate is converted to JSON, which then either
replaces the content of each input document or is stored in the specified metadata key.
Syntax
public GenerateJson(DocumentConfig data, string destinationKey = null)
Parameters
Name |
Type |
Description |
data |
DocumentConfig |
A delegate that returns the object to convert to JSON. |
destinationKey |
string |
The metadata key where the JSON should be stored (or null
to replace the content of each input document). |
Return Value