// Copyright 2022 Valters Melnalksnis // Licensed under the Apache License 2.0. // See LICENSE file in the project root for full license information. using System.Text.Json; using System.Text.Json.Serialization; namespace VMelnalksnis.NordigenDotNet.Serialization; /// for . public sealed class NordigenJsonSerializerOptions { /// Initializes a new instance of the class. public NordigenJsonSerializerOptions() { var options = new JsonSerializerOptions(JsonSerializerDefaults.Web) { Converters = { new JsonStringEnumConverter() }, }; Context = new(options); } internal NordigenSerializationContext Context { get; } }