Custom Serializers

- Dictionary serializer
This commit is contained in:
Simon Lübeß
2024-01-05 13:37:58 +01:00
parent 16f4dd349b
commit 3de861110e
8 changed files with 376 additions and 60 deletions
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace GlitchyEngine.Serialization;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class CustomSerializerAttribute : Attribute
{
public Type Type { get; private set; }
public CustomSerializerAttribute(Type type)
{
Type = type;
}
}