Hello,

I build a service receiving Json from websocket.

I use json decode.
I want my service to be robust !

*var tmp interface{}*
*err = this.reader.Decode(&tmp)*


My problem is :
When I got some error here, I came to infinite loop, because the decoder 
doesn't go forward.
It seems that it is trying to decode the same part of texte again and again.

I would like to send my error and go on.

How could I fix that ?
Till then I just (sadly) close the connection.

Thanks a lot for your help,
Thomas



-- 
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