13 lines
328 B
C#
13 lines
328 B
C#
using System.Text.Json;
|
|
|
|
namespace PkmnLib.Dataloader;
|
|
|
|
internal static class JsonOptions
|
|
{
|
|
public static JsonSerializerOptions DefaultOptions => new JsonSerializerOptions()
|
|
{
|
|
PropertyNameCaseInsensitive = true,
|
|
AllowTrailingCommas = true,
|
|
ReadCommentHandling = JsonCommentHandling.Skip,
|
|
};
|
|
} |