2023-08-12 19:08:38 +01:00
|
|
|
|
using LootDumpProcessor.Serializers;
|
|
|
|
|
using LootDumpProcessor.Serializers.Json;
|
|
|
|
|
|
2024-01-30 14:54:01 +00:00
|
|
|
|
namespace LootDumpProcessor.Storage.Implementations.File.Serializers;
|
2023-08-12 19:08:38 +01:00
|
|
|
|
|
|
|
|
|
public class JsonDataStorageFileSerializer : IDataStorageFileSerializer
|
|
|
|
|
{
|
|
|
|
|
public string GetExtension() => "json";
|
|
|
|
|
|
|
|
|
|
public ISerializer GetSerializer()
|
|
|
|
|
{
|
|
|
|
|
return JsonSerializerFactory.GetInstance();
|
|
|
|
|
}
|
|
|
|
|
}
|