Table of Contents

Class JsonConnectorConfiguration

Namespace
Datafication.Connectors.JsonConnector
Assembly
Datafication.JsonConnector.dll

Represents the configuration for connecting to a JSON data source.

public class JsonConnectorConfiguration : IDataConnectorConfiguration
Inheritance
object
JsonConnectorConfiguration
Implements

Remarks

This configuration contains settings and parameters necessary to establish a connection and retrieve data from a JSON source.

Constructors

JsonConnectorConfiguration()

public JsonConnectorConfiguration()

Properties

ErrorHandler

Gets or sets the error handling action to be invoked when an exception occurs.

public Action<Exception>? ErrorHandler { get; set; }

Property Value

Action<Exception>

Remarks

This property allows the user to define a custom error-handling mechanism, such as logging or notifications, when processing data from the JSON source.

Id

Gets or sets the unique identifier for this connector configuration.

public string Id { get; set; }

Property Value

string

Remarks

This identifier can be used to distinguish between different configurations or instances of the JSON connector.

Source

Gets or sets the URI of the JSON data source.

public Uri Source { get; set; }

Property Value

Uri

Remarks

This property specifies the location of the JSON data source, which can be a local file, a network location, or a web endpoint.