Hi,

Suppose that I call json.Marshal on two structures that are deep equal,
or on the same structure at different times.  Are the outputs guaranteed
to be bytewise identical?

(The reason I'm asking is that I'm sending JSON over HTTP, and I need to
know whether it is correct to send a strong ETag with my reply even
though I'm generating new JSON every time.)

Thanks,

-- Juliusz



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/87h6gag1qk.fsf%40pirx.irif.fr.

Reply via email to