Title here
Summary here
A Json destination defines a json file where data from the flow is inserted.
public class JsonDestination<TInput> : DataFlowStreamDestination<TInput>, IDataFlowStreamDestination<TInput>, IDataFlowDestination<TInput>, IDataFlowStreamDestination, IDataFlowDestination, IDataFlowComponent, ILoggableTask| Name | Description |
|---|---|
| TInput | Type of ingoing data. |
JsonDestination<MyRow> dest = new JsonDestination<MyRow>("/path/to/file.json");
dest.Wait(); //Wait for all data to arrive public JsonDestination() public JsonDestination(string uri)| Type | Name | Description |
|---|---|---|
| string | uri | The source csv file name or uri |
public JsonDestination(string uri, ResourceType resourceType)| Type | Name | Description |
|---|---|---|
| string | uri | The source csv file name or uri |
| ResourceType | resourceType | The type of resource for the uri (e.g. file or http) |
The content type used when sending the http request content.
public override string HttpContentType { get; set; }| Type | Description |
|---|---|
| string |
The Newtonsoft.Json.JsonSerializer used to deserialize the json into the used data type.
public JsonSerializer JsonSerializer { get; set; }| Type | Description |
|---|---|
| JsonSerializer |
protected override void CheckParameter() protected override void CloseStream() protected override void InitStream() protected override void WriteIntoStream(TInput data)| Type | Name | Description |
|---|---|---|
| TInput | data |