Clint Shryock
24d1a45e6a
Tweak JSON example of unmarshalling a float
...
The current example shows `json.Unmarshal` on an array of bytes, including
`num:6.0`. In the output however this comes out as `6`. Even in the casting to
`float64`, it comes out as `6`. This can be confusion because it looks like a
simple `int`. By adding an arbitray `.13` you see it's a
float.
2014-01-15 10:06:18 -06:00
..
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2014-01-10 06:31:15 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-12-03 05:18:14 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2012-11-17 07:08:12 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2014-01-15 10:06:18 -06:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2014-01-15 10:06:18 -06:00
2014-01-15 10:06:18 -06:00
2013-12-19 11:31:08 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-10-06 09:03:31 -07:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-10-06 09:08:06 -07:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2014-01-10 06:34:13 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00
2013-11-17 08:43:04 -08:00