karate : How to set the Json value if object name contains period in an array

Here is my JSON request example code and as u can see #(Paramtervale) as to be replaced by MyValue Below is the example of the request json and code: * request “”” { “query”: { “bool”: { “must”: [ { “match_data”: { “Event.Data.message”: “#(Paramtervale)” } }, { “match_data”: { “Event.Name”: “#(Paramtervale2)” } } ], “filter”:…

Details

Umarshalling JSON results in empty struct [duplicate]

This question already has an answer here: json.Unmarshal returning blank structure 1 answer Why struct fields are showing empty? 1 answer I have the following JSON structure: dataJson := `{“data1” : [[“a”,1][“b”,2]], “data2”: [“a”,”b”,3]}` And want to unmarshal it with Go. I am trying the following code: type myData struct { row map[string][][]interface{} `json:”data1″` column…

Details