Class CsvDataFormat
A concrete implementation of the Workspace.XBR.Xperiflow.Etl.IDataFormat interface that represents a CSV file.
Namespace: Workspace.XBR.Xperiflow.Etl
Assembly: Xperiflow.dll
Declaration
public class CsvDataFormat : IDataFormat
Implements: Workspace.XBR.Xperiflow.Etl.IDataFormat
Properties
Format
The data format.
Declaration
[JsonIgnore]
public string Format { get; }
Delimiter
The delimiter used in the CSV file.
Declaration
[JsonPropertyName("delimiter")]
public char Delimiter { get; set; }
Methods
ToJson()
Serializes the Workspace.XBR.Xperiflow.Etl.CsvDataFormat object to a JSON string.
Declaration
public string ToJson()
Returns
System.String
A serialized representation of the CsvDataFormat
FromJson(string)
Deserializes the JSON string to a Workspace.XBR.Xperiflow.Etl.CsvDataFormat object.
Declaration
public static CsvDataFormat FromJson(string data)
Returns
Workspace.XBR.Xperiflow.Etl.CsvDataFormat
A Workspace.XBR.Xperiflow.Etl.CsvDataFormat
Parameters
| Type | Name | Description |
|---|---|---|
System.String | data | The JSON string representation of the CsvDataFormat |
Exceptions
System.Text.Json.JsonException
Implements
Inherited Members
System.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString