I have a struct
type Order struct {
    ID string `json:"id"`
    CustomerMobile string `json:"customerMobile"`
    CustomerName string `json:"customerName"`
   }
and the json data:
[{"Key":"S001", "Record":{"id":"SOO1","customerMobile":"12344566","customerName":"John"}}] 
How can i access customerMobile key from the above json object?
I have done some research in Google and i found the below solution, but its not working when i apply to my above requirement. Its working with simple json format.
jsonByteArray := []byte(jsondata)
 json.Unmarshal(jsonByteArray, &order)