We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e5e39 commit a61fe90Copy full SHA for a61fe90
decode_hooks_string.go
@@ -72,6 +72,7 @@ type ExactStringConvertible interface {
72
ExactPrimitiveStringConvertible | ComplexStringConvertible
73
}
74
75
+// StringToHookFunc is a generic decode hook for converting strings.
76
func StringToHookFunc[T ExactStringConvertible]() DecodeHookFunc {
77
return StringParserHookFunc(getParseFunc[T]())
78
0 commit comments