On Tue, Dec 13, 2016 at 7:43 PM,  <arunku...@hifx.co.in> wrote:
> Hi gophers,
>
> How to prevent json unmarshal from type conversion. From the below sample
> code i got the input string converted to float64

Note that the variable 'input' is being assigned a json encoded number
and not a json encoded string.
Using a json encoded string would like like:
https://play.golang.org/p/XVKvlCZb7I

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