How construct json I can receive int64 and string using golang? : I have the follow example code:

    type Num struct {
	    X uint64 `json:"x,string"`
	    Y float64 `json:"y,string"`
    }

Now, I use the command `curl -X POST --data '{"x": "123", "y": "1.23"}' -v "localhost:8080"` it will return OK.

But I use the command `curl -X POST --data '{"x": 123, "y": 1.23}' -v "localhost:8080"` it will return error.

The result I can understand.

Now, my problem is how can receive both string and uint64/float64?
