Crossposting this from stackoverflow:-
Let's say I have a struct like below:-
//easyjson:json
type JSONData struct {
Data []string
}I want to un-marshal the below json to JSONData struct
{"Data" : ["One", "Two", "Three"]} Can someone let me know how can I use easyjson to un-marshal a json in Golang? I could not find any example in their README