From bed0ade7322f80b3f4f4867ec07e32746905231d Mon Sep 17 00:00:00 2001 From: Lucas LaBuff Date: Sun, 14 Feb 2021 18:07:28 -0500 Subject: [PATCH] [JSON] Skip validation (#499) --- .../Exporting/Writers/JsonMessageWriter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DiscordChatExporter.Domain/Exporting/Writers/JsonMessageWriter.cs b/DiscordChatExporter.Domain/Exporting/Writers/JsonMessageWriter.cs index 0c27f97..5e478fb 100644 --- a/DiscordChatExporter.Domain/Exporting/Writers/JsonMessageWriter.cs +++ b/DiscordChatExporter.Domain/Exporting/Writers/JsonMessageWriter.cs @@ -21,7 +21,8 @@ namespace DiscordChatExporter.Domain.Exporting.Writers _writer = new Utf8JsonWriter(stream, new JsonWriterOptions { Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping, - Indented = true + Indented = true, + SkipValidation = true }); }