We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61b6290 commit 610e5beCopy full SHA for 610e5be
1 file changed
src/Scarlet.System.Text.Json.DateTimeConverter/JsonDateTimeFormatAttribute.cs
@@ -1,3 +1,5 @@
1
+using System.Text.Json.Serialization;
2
+
3
namespace Scarlet.System.Text.Json.DateTimeConverter;
4
5
/// <summary>
@@ -29,7 +31,7 @@ namespace Scarlet.System.Text.Json.DateTimeConverter;
29
31
/// </code>
30
32
/// </example>
33
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
-public sealed class JsonDateTimeFormatAttribute : Attribute
34
+public sealed class JsonDateTimeFormatAttribute : JsonAttribute
35
{
36
37
/// Gets the date format string.
0 commit comments