When generating code with gojay, it does not support types starting with K. For example:
generates the code:
func (k *Key) UnmarshalJSONObject(dec *gojay.Decoder, k string) error {
...
}
This doesn't compile, since both the alias and a argument use the same variable, k.