I have looking for a way to encode the json keys, but has not been able to find 
anything on that.

For example Go lets us do this

type Response2 struct {
    Page int json:"page" Fruits []string json:"fruits"

}

I want to unmarshal a json object but not able to encode the json keys. As my 
key name start with number I am not able to have the same variable in json.

Reply via email to