Aleksandr Petrukhin
7169726fa7
[tests] added tests for key text marshaler
2019-04-03 16:59:05 +00:00
Vasily Romanov
6243d8e04c
Merge pull request #209 from shmel1k/bugfix/issue_207_fix_reference_to_pointer
...
[decoder] remove unnecessary reference to a pointer
2019-02-21 10:54:03 +03:00
Aleksandr Petrukhin
b27fccced4
[decoder] remove unnecessary reference to a pointer
2019-02-20 21:52:23 +00:00
Phil Pearl
0e998db2a9
Stdlib json handles embedded structs with json tags differently.
...
See https://play.golang.org/p/KXZbjG0JBle for an example
2019-01-10 18:43:09 +00:00
Vasily Romanov
9825584555
Merge pull request #174 from IncSW/master
...
fix marshaling for uint8 custom types
2018-05-31 12:57:41 +03:00
Aleksandr Petrukhin
31e0226908
[Tests] add tests for disallow_unknown_fields
2018-05-29 16:32:28 +00:00
IncSW
09f3bc3a8f
fix marshaling for uint8 custom types
2018-04-27 01:46:49 +03:00
Vasily Romanov
517203d186
Merge pull request #158 from regeda/invalid_indirect_of_pointer_on_array
...
fix invalid indirect of a pointer on a array
2018-03-20 16:17:58 +03:00
Vasily Romanov
f594efddfa
Merge pull request #156 from levigross/master
...
Add float string functions when requested
2018-03-11 19:19:19 +03:00
Nicolas S. Dade
042f8eb204
reduce the unit test map to 1 element so the encoding is consistent
...
otherwise, since the map iterates in randomish order, some of the time
the element order does not match the unit test expected result, causing
the unit test to fail unnecessarily.
2018-03-07 03:26:27 -08:00
Vasily Romanov
98961de800
Merge branch 'master' into custom_map_key_type
2018-03-07 10:19:32 +03:00
Nicolas S. Dade
699d6f0801
add test of map with key with custom marshaler
2018-03-06 13:49:51 -08:00
Nicolas S. Dade
6334c0a320
add unit test of embedded types which generates broken code
...
which cannot be compile
2018-03-06 13:27:21 -08:00
Anthony Regeda
95baeb8ee7
invalid_indirect_of_pointer_on_array fix invalid indirect of a pointer on a array
2017-12-19 13:06:15 +03:00
Levi Gross
b5dedd1b9e
We now include and pass tests
...
Signed-off-by: Levi Gross <levi@levigross.com >
2017-11-26 18:55:54 -05:00
Levi Gross
56cec8d348
Ensure decoder is set as well
...
Signed-off-by: Levi Gross <levi@levigross.com >
2017-11-26 18:47:04 -05:00
Levi Gross
4f31de8934
Add float string functions when requested
...
Signed-off-by: Levi Gross <levi@levigross.com >
2017-11-26 18:36:47 -05:00
Kaur Kuut
21691f6643
Fixed optional type wrapper's standard marshaler.
2017-11-14 21:57:56 +02:00
Kwisatz
a2a98adabc
fix problem with installation on 32-bit system
2017-11-04 22:01:21 +03:00
Anton
8b2f92253d
fix problem with installation on 32-bit system
2017-11-04 21:24:12 +03:00
Chuntao Lu
86f5f60c4e
Add tests for integer keyed maps
2017-10-19 20:28:37 -07:00
Chuntao Lu
0172647770
Handle errors when generating encoder/decoder for nested structures
2017-10-16 18:33:34 -07:00
Vladimir Varankin
1a411a8244
proper encoding.TextMarshaler interfaces handling
...
Currently easyjson doesn't handle [encoding.TextMarshaler][1] interfaces.
This leads to a situation where types like [net.IP][2] are handled
as Base64Bytes.
[1]: https://godoc.org/encoding#TextMarshaler
[2]: https://godoc.org/net#IP
2017-03-06 21:23:53 +03:00
Kenneth Shaw
b9110dcf3b
Cleaning up and Updating Documentation
...
Formatting changes to README.md
Standardize "marshal" and "unmarshal" spelling
2017-02-14 15:28:23 +07:00
Nicolas S. Dade
04f8533542
Merge branch 'master' into master
2017-01-26 16:38:41 -08:00