/ src / modules / colorPicker / ColorPicker.ModuleServices / ColorPickerServiceJsonContext.cs
ColorPickerServiceJsonContext.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System.Collections.Generic;
 6  using System.Text.Json.Serialization;
 7  using Microsoft.PowerToys.Settings.UI.Library;
 8  
 9  namespace ColorPicker.ModuleServices;
10  
11  [JsonSourceGenerationOptions(WriteIndented = true)]
12  [JsonSerializable(typeof(List<string>))]
13  [JsonSerializable(typeof(List<SavedColor>))]
14  [JsonSerializable(typeof(SavedColor))]
15  [JsonSerializable(typeof(ColorFormatValue))]
16  [JsonSerializable(typeof(ColorPickerSettings))]
17  internal sealed partial class ColorPickerServiceJsonContext : JsonSerializerContext
18  {
19  }