We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cf10d3 commit 4348d6aCopy full SHA for 4348d6a
src/FSharp.SystemTextJson/JsonName.fs
@@ -18,7 +18,7 @@ type JsonName =
18
| Bool true -> "true"
19
| Bool false -> "false"
20
21
-[<AttributeUsage(AttributeTargets.Property, AllowMultiple = true)>]
+[<AttributeUsage(AttributeTargets.Property ||| AttributeTargets.Method, AllowMultiple = true)>]
22
type JsonNameAttribute(name: JsonName, otherNames: JsonName[]) =
23
inherit Attribute()
24
0 commit comments