Eli Bendersky
7c160440be
Use tabs as the canonical source indentation in git
...
Space conversion is done during generation only. Fixes #192
2019-06-04 07:30:58 -07:00
Mark McGranaghan
2d9b204571
Use "conversion" instead of "cast", per spec
...
Closes #200
2019-05-31 12:45:56 -07:00
Mark McGranaghan
47be1a0ff8
Build updates
2018-02-01 16:35:20 -05:00
Mark McGranaghan
bb743bb826
Consistency in json.go
2018-02-01 16:32:12 -05:00
Noah Zoschke
ee5400dc9f
dont export types (golint)
2018-01-26 09:35:38 -08:00
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
afdf0cc2b4
add trailing newlines
2013-10-06 08:50:23 -07:00
Mark McGranaghan
e77dcdddd4
missing some generated files
2013-09-11 09:01:11 -07: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