Class JsonSource

Reads data from a json source. This can be any http resource or a file. By default, data is pulled via httpclient. Use the ResourceType property to read data from a file.

Inherited Members
Namespace: ETLBox.Json
Assembly: ETLBox.Json.dll
Syntax
    public class JsonSource : JsonSource<ExpandoObject>, IDataFlowLogging, IDataFlowStreamSource<ExpandoObject>, IDataFlowExecutableSource<ExpandoObject>, IDataFlowSource<ExpandoObject>, IDataFlowStreamSource, IDataFlowExecutableSource, IDataFlowSource, IDataFlowComponent, ILoggableTask
Examples
  JsonSource<POCO> source = new JsonSource<POCO>("https://jsonplaceholder.typicode.com/todos");

Constructors

JsonSource()

Declaration
    public JsonSource()

JsonSource(string)

Declaration
    public JsonSource(string uri)
Parameters
TypeNameDescription
stringuri

The source json file name or uri

JsonSource(string, ResourceType)

Declaration
    public JsonSource(string uri, ResourceType resourceType)
Parameters
TypeNameDescription
stringuri

The source json file name or uri

ResourceTyperesourceType

Specifies if data is loaded from a file, a web endpoint or other storage types (e.g. Azure Blob Storage)

Implements