Handle being able to read JSONC files by default

This commit is contained in:
Archangel
2025-08-16 16:13:09 +02:00
parent 90a5b9dbc1
commit ff3d1091d8
@@ -16,6 +16,8 @@ public class JsonUtil
{
JsonSerializerOptionsNoIndent = new JsonSerializerOptions()
{
// This is required for JSONC support
ReadCommentHandling = JsonCommentHandling.Skip,
WriteIndented = false,
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
UnmappedMemberHandling = JsonUnmappedMemberHandling.Disallow,