mirror of
https://github.com/sp-tarkov/loot-dump-processor.git
synced 2025-02-13 09:50:44 -05:00
The changes include: - Replaced Newtonsoft.Json with System.Text.Json for serialization - Removed redundant JsonProperty attributes and simplified model classes - Converted static fields to constants where appropriate - Improved code formatting and readability - Simplified method bodies and expressions - Removed unused imports and cleaned up namespaces
13 lines
302 B
C#
13 lines
302 B
C#
namespace LootDumpProcessor.Serializers.Yaml;
|
|
|
|
public static class YamlSerializerFactory
|
|
{
|
|
private static IYamlSerializer? _instance;
|
|
|
|
public static IYamlSerializer GetInstance()
|
|
{
|
|
if (_instance == null) _instance = new YamlDotNetYamlSerializer();
|
|
|
|
return _instance;
|
|
}
|
|
} |