5 Commits

Author SHA1 Message Date
Mark McGranaghan
3dc21b848c Avoid double-pointer in Unmarshal 2015-09-14 08:50:10 -07:00
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
Mark McGranaghan
056d0aff68 initial generation for play.golang.org linking, ref #37 2013-09-11 08:52:05 -07:00
Mark McGranaghan
2a17561156 publish json 2012-11-01 10:14:57 -07:00
Mark McGranaghan
8daa226a48 lean into examples 2012-10-09 21:02:12 -07:00