I have an enum with index 1 and value 50. schema required to convert the enum index to enum value (string).
I am converting 50 to string type but while ytypes.Unmarshal() sanitizeJson method is treating 50 as a float64 even though I am converting 50 to string before unmarshalling.
Is there any way I can convert the type of 50 to string?
I would appreciate any inputs!