about summary refs log tree commit diff
path: root/LibMatrix.EventTypes.Abstractions/Converters/EventJsonSerializerContext.cs
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-06-01 19:02:28 +0200
committerEmma [it/its]@Rory& <root@rory.gay>2024-06-01 19:03:05 +0200
commita129b321998614b20e4ebb8a7c1632553ebee981 (patch)
treef4e16f7b1bbeffc21e81f8749e4980994242ff19 /LibMatrix.EventTypes.Abstractions/Converters/EventJsonSerializerContext.cs
parentEvent serialisation fix (diff)
downloadLibMatrix-a129b321998614b20e4ebb8a7c1632553ebee981.tar.xz
Split event abstractions
Diffstat (limited to 'LibMatrix.EventTypes.Abstractions/Converters/EventJsonSerializerContext.cs')
-rw-r--r--LibMatrix.EventTypes.Abstractions/Converters/EventJsonSerializerContext.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/LibMatrix.EventTypes.Abstractions/Converters/EventJsonSerializerContext.cs b/LibMatrix.EventTypes.Abstractions/Converters/EventJsonSerializerContext.cs
new file mode 100644
index 0000000..5b8e2dc
--- /dev/null
+++ b/LibMatrix.EventTypes.Abstractions/Converters/EventJsonSerializerContext.cs
@@ -0,0 +1,10 @@
+// using System.Text.Json;
+// using System.Text.Json.Serialization;
+// using System.Text.Json.Serialization.Metadata;
+//
+// namespace LibMatrix.EventTypes.Converters;
+//
+// [JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Serialization)]
+// [JsonSerializable(typeof(MatrixEvent<>))]
+// internal partial class EventJsonSerializerContext : JsonSerializerContext {
+// }
\ No newline at end of file