Crossposting this from stackoverflow
<http://stackoverflow.com/questions/40587860/using-easyjson-with-golang>:-

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
<https://github.com/mailru/easyjson> to un-marshal a json in Golang? I
could not find any example in their README

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to