mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 05:34:16 -04:00
20 lines
617 B
C#
20 lines
617 B
C#
namespace Jellyfin.Extensions.Json.Converters
|
|
{
|
|
/// <summary>
|
|
/// Convert comma delimited string to array of type.
|
|
/// </summary>
|
|
/// <typeparam name="T">Type to convert to.</typeparam>
|
|
public sealed class JsonCommaDelimitedArrayConverter<T> : JsonDelimitedArrayConverter<T>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="JsonCommaDelimitedArrayConverter{T}"/> class.
|
|
/// </summary>
|
|
public JsonCommaDelimitedArrayConverter() : base()
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override char Delimiter => ',';
|
|
}
|
|
}
|