I have the following json string
{"x":{"l.a":"test"}}
type Object struct {
Foo map[string]map[string]string `json:"l.a"`
}
var obj Object
err = json.Unmarshal(body, &obj)
if err != nil{
fmt.Println(err)
}
fmt.Println("jsonObj", obj)
but get empty any idea how can i get the string "test"