Does golang json tag support altering struct name?
I want to change the struct name when it is being serialized into json, like this:
Parse from json float or string into float
I need to parse json into a struct in golang and the final value is a float64
Parse json as float or string
I need to parse json into a struct in golang and the final value is a float64