Class CsvDataFormat
A concrete implementation of the [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md)
interface that represents a CSV file.
Namespace: Workspace.XBR.Xperiflow.Etl
Assembly: Xperiflow.dll
public class CsvDataFormat : IDataFormat
Implements: Workspace.XBR.Xperiflow.Etl.IDataFormat
Properties
Format
The data format.
[JsonIgnore]
public string Format { get; }
Delimiter
The delimiter used in the CSV file.
[JsonPropertyName("delimiter")]
public char Delimiter { get; set; }
Methods
ToJson()
Serializes the [Workspace.XBR.Xperiflow.Etl.CsvDataFormat](../Xperiflow.Etl/CsvDataFormat.md)
object to a JSON string.
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](../Xperiflow.Etl/CsvDataFormat.md)
object.
public static CsvDataFormat FromJson(string data)
Returns
Workspace.XBR.Xperiflow.Etl.CsvDataFormat
A [Workspace.XBR.Xperiflow.Etl.CsvDataFormat](../Xperiflow.Etl/CsvDataFormat.md)
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.GetHashCode
System.Object.GetType
System.Object.MemberwiseClone
System.Object.ReferenceEquals(System.Object,System.Object)
System.Object.ToString