Tao Wen
|
c009421781
|
fix write float compatibility
|
2017-07-02 15:11:36 +08:00 |
|
Tao Wen
|
c4f54740f7
|
separate 1.8 tests
|
2017-07-02 14:27:16 +08:00 |
|
Tao Wen
|
368bd0c1d8
|
fix 1.6 compatibility
|
2017-07-02 13:22:55 +08:00 |
|
Tao Wen
|
11975d2a26
|
test with more go versions
|
2017-07-02 13:18:20 +08:00 |
|
Tao Wen
|
e7404f3065
|
add badges
|
2017-07-02 13:10:00 +08:00 |
|
Tao Wen
|
f60a6a17c2
|
test and cover multiple packages
|
2017-07-02 12:58:14 +08:00 |
|
Tao Wen
|
2dfdcdd9db
|
add travis.yml
|
2017-07-02 12:09:49 +08:00 |
|
Tao Wen
|
496a8ea225
|
list contributors
|
2017-07-02 11:59:11 +08:00 |
|
Tao Wen
|
ed6c434851
|
gofmt
|
2017-07-02 11:56:01 +08:00 |
|
Tao Wen
|
bf002a02be
|
#102 create correct type when pointer to Marshaler/Unmarshaler is nil
|
2017-07-02 11:35:30 +08:00 |
|
Tao Wen
|
815aa331a8
|
#101 checkIsEmpty can not reuse createEncoderOfSimpleType, otherwise it will fail when struct member is not serializable
|
2017-07-02 11:13:21 +08:00 |
|
Tao Wen
|
54ab168362
|
#99 support uintptr
|
2017-07-02 11:03:13 +08:00 |
|
Tao Wen
|
87d1ea0c60
|
Merge pull request #100 from thockin/output_tests
Output tests for text marshal and uintptr
|
2017-07-02 07:41:50 +08:00 |
|
Tim Hockin
|
6268a1cbc8
|
add test for uintptr
|
2017-07-01 10:57:42 -07:00 |
|
Tim Hockin
|
d56566286c
|
Add tests for omitempty and text methods
|
2017-07-01 10:28:59 -07:00 |
|
Tao Wen
|
f2c50ef73b
|
#97 omit empty behavior should follow the original type
|
2017-07-02 00:41:23 +08:00 |
|
Tao Wen
|
d0c5988985
|
Merge pull request #98 from thockin/output_tests
Add tests for omitempty and json methods
|
2017-07-02 00:15:51 +08:00 |
|
Tim Hockin
|
17eed15fb5
|
Add tests for omitempty and json methods
|
2017-07-01 08:26:42 -07:00 |
|
Tao Wen
|
e260979001
|
#95 struct and empty struct is considered as notempty
|
2017-07-01 11:48:17 +08:00 |
|
Tao Wen
|
3cf9b7c253
|
Merge pull request #96 from thockin/output_tests
Add test for omitempty on struct
|
2017-07-01 11:33:17 +08:00 |
|
Tim Hockin
|
800df52ccd
|
Add test for omitempty on struct
|
2017-06-30 20:32:27 -07:00 |
|
Tao Wen
|
e3ba0e7b7e
|
#93 fix omitempty within embedded struct
|
2017-07-01 09:27:48 +08:00 |
|
Tao Wen
|
e366c72b81
|
Merge pull request #94 from thockin/output_tests
Add test for embedded+omitempty
|
2017-07-01 09:01:13 +08:00 |
|
Tim Hockin
|
69551ef38f
|
Add test for embedded+omitempty
|
2017-06-30 15:16:42 -07:00 |
|
Tao Wen
|
abcf9a8d76
|
fix tests
|
2017-07-01 00:35:19 +08:00 |
|
Tao Wen
|
fa0965a968
|
#90 trim spaces when UnmarshalJSON
|
2017-07-01 00:33:42 +08:00 |
|
Tao Wen
|
04eae11ba5
|
#91 fix one ptr embedded struct
|
2017-07-01 00:09:40 +08:00 |
|
Tao Wen
|
ea8fa7cc63
|
#91 fix embedded and ,
|
2017-07-01 00:00:38 +08:00 |
|
Tao Wen
|
6540266aaf
|
Merge pull request #92 from thockin/output_tests
Better tests for field name tags
|
2017-06-30 23:53:02 +08:00 |
|
Tim Hockin
|
ddfbb0c62e
|
better tests for field name tags
|
2017-06-30 08:16:43 -07:00 |
|
Tao Wen
|
a3a2d1cd25
|
#87 fix embedded field sorting order
|
2017-06-30 14:01:50 +08:00 |
|
Tao Wen
|
401a56bc20
|
#88 #85 support embedded struct with json tags
|
2017-06-30 13:26:50 +08:00 |
|
Tao Wen
|
cfaa11f837
|
Merge pull request #89 from thockin/output_tests
More output tests
|
2017-06-30 13:21:54 +08:00 |
|
Tim Hockin
|
c1411e0ad5
|
Add test for json tag on embedded field
|
2017-06-29 22:01:16 -07:00 |
|
Tim Hockin
|
9ec64591b6
|
Enhance test for overlap and embedded
|
2017-06-29 22:01:16 -07:00 |
|
Tim Hockin
|
b07d1abc4f
|
Add output_test for partial unmarshal
|
2017-06-29 22:01:14 -07:00 |
|
Tim Hockin
|
79c4040505
|
sync up some straggler json_tests
|
2017-06-29 22:00:39 -07:00 |
|
Tim Hockin
|
7fa780bd5d
|
Uncommit files accidentally added
|
2017-06-29 22:00:27 -07:00 |
|
Tao Wen
|
7244d730b9
|
Merge pull request #84 from thockin/output_tests
Output tests for embedded marshalers and arrays
|
2017-06-29 22:51:46 +08:00 |
|
Tim Hockin
|
12be6e0d43
|
Add tests for arrays
|
2017-06-29 07:25:19 -07:00 |
|
Tim Hockin
|
3cfe590a13
|
Add output test for embedded marshalers
|
2017-06-29 07:14:33 -07:00 |
|
Tao Wen
|
678c297af3
|
#75 support MarshalIndent
|
2017-06-29 20:48:27 +08:00 |
|
Tao Wen
|
1253b8edd3
|
gofmt
|
2017-06-29 20:40:25 +08:00 |
|
Tao Wen
|
fb382c0ec1
|
fix -,
|
2017-06-29 20:40:07 +08:00 |
|
Tao Wen
|
09cb1d9236
|
#81 handle field name conflict properly
|
2017-06-29 20:34:40 +08:00 |
|
Tao Wen
|
e6c24947ee
|
array is just like struct, one element case special for interface{
|
2017-06-29 18:58:40 +08:00 |
|
Tao Wen
|
a6673c983a
|
slice embedded in struct will not be optimized by interface{}
|
2017-06-29 18:52:03 +08:00 |
|
Tao Wen
|
ec7b40d104
|
update ignore
|
2017-06-29 18:45:20 +08:00 |
|
Tao Wen
|
84fa033353
|
#80 fix the case when embedded struct ptr is nil
|
2017-06-29 18:45:11 +08:00 |
|
Tao Wen
|
4e608af2c7
|
#80 fix embedded builtins
|
2017-06-29 10:45:29 +08:00 |
|