Hi all,

I am using the libraries "encoding/xml" and "encoding/json" to marshal and
unmarshal a slice.

I wonder why the method Unmarshal in encoding/xml does not return a slice
as what I have from encoding/json.

The below is my example.
https://play.golang.org/p/ZlALkyCbzX

Do I miss something or is this a bug of the library?

Thank you very much.

Sincerely,
Dat.

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