[JSON] Skip validation (#499)

This commit is contained in:
Lucas LaBuff 2021-02-14 18:07:28 -05:00 committed by GitHub
parent 06e89538cb
commit bed0ade732
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,8 @@ namespace DiscordChatExporter.Domain.Exporting.Writers
_writer = new Utf8JsonWriter(stream, new JsonWriterOptions
{
Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
Indented = true
Indented = true,
SkipValidation = true
});
}