var object interface{}
structObject := object.(models.struct)

From JSON

type user struct {
	Objects map[string]interface{} `json:"object"`
}