Eli Bendersky
c273588521
Make multiple imports consistent with import ( ... ) style
...
Fixes #272
2019-09-06 15:20:22 -07:00
Mark McGranaghan
a0ac6165dd
Regnerate
2019-09-01 16:20:57 -07:00
Mark McGranaghan
738d92e305
Merge pull request #211 from baileywickham/master
...
Added warning for capital field names in structs
2019-09-01 16:17:42 -07:00
Bailey Wickham
99218c520a
Update export explanation
2019-09-01 16:07:33 -07:00
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
Bailey Wickham
f1a6a94afd
Added warning for capital field names in structs
...
Names without capital letters will be ignored by the JSON Marshaller. This may cause confusion when fields are not being unmarshalled correctly without a warning why.
2018-11-28 18:04:20 -08: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