I cannot provide the full code sincethere are some dependencies. I did fmt.println on the data that I am trying to marshall and it looks like this
*%!(EXTRA main.JobResponseRoot={{92b4f95b309e8db0f8d56afadefc} http.res {[{{ map[] <nil>} "Date","Time","Time_Zone","Source","Name","Raw_Data"* * <nil> 0x10a3c2d0}]}})* On Thursday, June 16, 2016 at 3:21:48 PM UTC+5:30, Dave Cheney wrote: > > Hello, > > Can you please provide a runnable code sample that shows the problem. > > Thanks > > Dave > > On Thursday, 16 June 2016 19:44:00 UTC+10, User123 wrote: >> >> The data I am trying to marshal contains serialized data. This data is >> received in http response. >> >> It works perfectly when I try in version 1.4.1/ 1.4.2. >> >> But when I try this to the latest version 1.6 it gives an error: *json: >> unsupported type: <-chan struct {}* >> >> Why is it so? >> >> I am not able to upgrade to the latest version because of this. >> >> Please help! >> >> >> >> >> -- 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.