1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-30 23:23:49 +02:00

Commit Graph

  • 712ddb1942 fix negative number to uint Xargin 2017-07-04 14:00:24 +08:00
  • ca8dd93d0b Merge pull request #105 from cch123/feature-add-int-tests Tao Wen 2017-07-04 08:09:48 +08:00
  • ac8dd56dfb object cannot covert to int/float in php, so change covert result to zero Xargin 2017-07-04 00:53:10 +08:00
  • d8dbf14af4 add array to int Xargin 2017-07-04 00:29:11 +08:00
  • 402c6c79e2 Merge branch 'master' of https://github.com/json-iterator/go into feature-add-int-tests Xargin 2017-07-04 00:20:16 +08:00
  • 2e10d5fdad add basic int test Xargin 2017-07-04 00:19:41 +08:00
  • f0b07a2313 Merge pull request #104 from cch123/feature-add-bool-convert-test Tao Wen 2017-07-03 20:00:29 +08:00
  • 919a2eff5c fix bool test Xargin 2017-07-03 19:40:12 +08:00
  • a743df1b8a add bool convert test map Xargin 2017-07-03 19:10:49 +08:00
  • 8700644196 cut 0.9.18 jsoniter-go-0.9.18 Tao Wen 2017-07-03 10:17:02 +08:00
  • 6a7bf91c45 only test against 1.8 Tao Wen 2017-07-02 19:26:06 +08:00
  • e417330822 fuzzy test from 1000 to 100 Tao Wen 2017-07-02 18:18:12 +08:00
  • af876518e1 remove 1.6 and 1.7 Tao Wen 2017-07-02 15:25:28 +08:00
  • 21b9254da4 skip t.Run below 1.8 Tao Wen 2017-07-02 15:20:18 +08:00
  • c009421781 fix write float compatibility Tao Wen 2017-07-02 15:11:36 +08:00
  • c4f54740f7 separate 1.8 tests Tao Wen 2017-07-02 14:27:16 +08:00
  • 368bd0c1d8 fix 1.6 compatibility Tao Wen 2017-07-02 13:22:55 +08:00
  • 11975d2a26 test with more go versions Tao Wen 2017-07-02 13:18:20 +08:00
  • e7404f3065 add badges Tao Wen 2017-07-02 13:10:00 +08:00
  • f60a6a17c2 test and cover multiple packages Tao Wen 2017-07-02 12:58:14 +08:00
  • 2dfdcdd9db add travis.yml Tao Wen 2017-07-02 12:09:49 +08:00
  • 496a8ea225 list contributors Tao Wen 2017-07-02 11:59:11 +08:00
  • ed6c434851 gofmt Tao Wen 2017-07-02 11:56:01 +08:00
  • bf002a02be #102 create correct type when pointer to Marshaler/Unmarshaler is nil Tao Wen 2017-07-02 11:35:30 +08:00
  • 815aa331a8 #101 checkIsEmpty can not reuse createEncoderOfSimpleType, otherwise it will fail when struct member is not serializable Tao Wen 2017-07-02 11:13:21 +08:00
  • 54ab168362 #99 support uintptr Tao Wen 2017-07-02 11:03:13 +08:00
  • 87d1ea0c60 Merge pull request #100 from thockin/output_tests Tao Wen 2017-07-02 07:41:50 +08:00
  • 6268a1cbc8 add test for uintptr Tim Hockin 2017-07-01 10:57:42 -07:00
  • d56566286c Add tests for omitempty and text methods Tim Hockin 2017-07-01 10:28:59 -07:00
  • f2c50ef73b #97 omit empty behavior should follow the original type Tao Wen 2017-07-02 00:41:23 +08:00
  • d0c5988985 Merge pull request #98 from thockin/output_tests Tao Wen 2017-07-02 00:15:51 +08:00
  • 17eed15fb5 Add tests for omitempty and json methods Tim Hockin 2017-07-01 08:26:42 -07:00
  • e260979001 #95 struct and empty struct is considered as notempty Tao Wen 2017-07-01 11:48:17 +08:00
  • 3cf9b7c253 Merge pull request #96 from thockin/output_tests Tao Wen 2017-07-01 11:33:17 +08:00
  • 800df52ccd Add test for omitempty on struct Tim Hockin 2017-06-30 20:31:39 -07:00
  • e3ba0e7b7e #93 fix omitempty within embedded struct Tao Wen 2017-07-01 09:27:48 +08:00
  • e366c72b81 Merge pull request #94 from thockin/output_tests Tao Wen 2017-07-01 09:01:13 +08:00
  • 69551ef38f Add test for embedded+omitempty Tim Hockin 2017-06-30 15:16:42 -07:00
  • abcf9a8d76 fix tests Tao Wen 2017-07-01 00:35:19 +08:00
  • fa0965a968 #90 trim spaces when UnmarshalJSON Tao Wen 2017-07-01 00:33:42 +08:00
  • 04eae11ba5 #91 fix one ptr embedded struct Tao Wen 2017-07-01 00:09:40 +08:00
  • ea8fa7cc63 #91 fix embedded and , Tao Wen 2017-07-01 00:00:38 +08:00
  • 6540266aaf Merge pull request #92 from thockin/output_tests Tao Wen 2017-06-30 23:53:02 +08:00
  • ddfbb0c62e better tests for field name tags Tim Hockin 2017-06-30 08:16:43 -07:00
  • a3a2d1cd25 #87 fix embedded field sorting order Tao Wen 2017-06-30 14:01:50 +08:00
  • 401a56bc20 #88 #85 support embedded struct with json tags Tao Wen 2017-06-30 13:26:50 +08:00
  • cfaa11f837 Merge pull request #89 from thockin/output_tests Tao Wen 2017-06-30 13:21:54 +08:00
  • c1411e0ad5 Add test for json tag on embedded field Tim Hockin 2017-06-29 21:28:24 -07:00
  • 9ec64591b6 Enhance test for overlap and embedded Tim Hockin 2017-06-29 21:45:38 -07:00
  • b07d1abc4f Add output_test for partial unmarshal Tim Hockin 2017-06-29 20:46:38 -07:00
  • 79c4040505 sync up some straggler json_tests Tim Hockin 2017-06-29 21:14:18 -07:00
  • 7fa780bd5d Uncommit files accidentally added Tim Hockin 2017-06-29 21:15:46 -07:00
  • 7244d730b9 Merge pull request #84 from thockin/output_tests Tao Wen 2017-06-29 22:51:46 +08:00
  • 12be6e0d43 Add tests for arrays Tim Hockin 2017-06-29 07:25:19 -07:00
  • 3cfe590a13 Add output test for embedded marshalers Tim Hockin 2017-06-29 07:14:33 -07:00
  • 678c297af3 #75 support MarshalIndent Tao Wen 2017-06-29 20:48:27 +08:00
  • 1253b8edd3 gofmt Tao Wen 2017-06-29 20:40:25 +08:00
  • fb382c0ec1 fix -, Tao Wen 2017-06-29 20:40:07 +08:00
  • 09cb1d9236 #81 handle field name conflict properly Tao Wen 2017-06-29 20:34:40 +08:00
  • e6c24947ee array is just like struct, one element case special for interface{ Tao Wen 2017-06-29 18:58:40 +08:00
  • a6673c983a slice embedded in struct will not be optimized by interface{} Tao Wen 2017-06-29 18:52:03 +08:00
  • ec7b40d104 update ignore Tao Wen 2017-06-29 18:45:20 +08:00
  • 84fa033353 #80 fix the case when embedded struct ptr is nil Tao Wen 2017-06-29 18:45:11 +08:00
  • 4e608af2c7 #80 fix embedded builtins Tao Wen 2017-06-29 10:45:29 +08:00
  • 3458ccdb20 Merge pull request #83 from thockin/output_tests Tao Wen 2017-06-29 09:43:12 +08:00
  • 45ccfb031f Methods on aliased types are not valid map keys Tim Hockin 2017-06-28 09:38:15 -07:00
  • 545a32f2a1 #76 support TextUnmarshal Tao Wen 2017-06-29 00:14:55 +08:00
  • 08dbc98040 #76 fix UnmarshalJSON Tao Wen 2017-06-28 23:55:32 +08:00
  • 82dabdcdbf #77 support -, Tao Wen 2017-06-28 23:47:32 +08:00
  • 76e62088df #78 not null pointer is considered not empty Tao Wen 2017-06-28 23:39:46 +08:00
  • faaa59222a #79 fix string tag on string field Tao Wen 2017-06-28 23:37:10 +08:00
  • 91ef89a6a2 WIP: MarshalIndent Tao Wen 2017-06-28 23:22:05 +08:00
  • 3e3caf9184 Merge pull request #82 from thockin/output_tests Tao Wen 2017-06-28 23:20:59 +08:00
  • 03a2daaeee Add a test for caseless unmarshal Tim Hockin 2017-06-27 22:06:13 +01:00
  • 4652ac6cc2 Add output tests for embedded types Tim Hockin 2017-06-27 21:57:47 +01:00
  • 8a9f2b9179 Add output test for manual text marshalers Tim Hockin 2017-06-27 21:16:10 +01:00
  • 0db2d74de8 Add output test for manual json marshalers Tim Hockin 2017-06-27 21:09:54 +01:00
  • d6ef711c18 Better errors in output_tests Tim Hockin 2017-06-27 21:09:08 +01:00
  • 628fedf63c Add output tests for map keys with TextMarshal Tim Hockin 2017-06-27 20:54:18 +01:00
  • 5bb7a1f7af Add output test for 'string' tag Tim Hockin 2017-06-27 20:42:39 +01:00
  • c2c9981062 catch errors in output_tests Tim Hockin 2017-06-27 20:42:22 +01:00
  • e40d614037 Add output test for json tag field names Tim Hockin 2017-06-27 20:07:29 +01:00
  • 1589ab2fd7 Add output tests for omitempty Tim Hockin 2017-06-27 20:04:14 +01:00
  • 97ee4ad4a2 Reorganize output_tests for structs Tim Hockin 2017-06-27 19:51:13 +01:00
  • f09f778ca9 Reorganize output_tests for slices Tim Hockin 2017-06-27 19:21:17 +01:00
  • 9fc858b117 Reorganize output_tests for maps Tim Hockin 2017-06-27 18:53:20 +01:00
  • f93d25f8b1 Add output tests for slices of slices Tim Hockin 2017-06-27 18:28:24 +01:00
  • 7cd7a6cc7c Add output tests for maps of maps/slices/structs Tim Hockin 2017-06-27 11:58:07 +01:00
  • 7d6c9374e8 Add output test for structs of struct ptrs Tim Hockin 2017-06-27 11:46:55 +01:00
  • e16ee7f8ac Add output tests for structs of slices and maps Tim Hockin 2017-06-27 11:41:17 +01:00
  • cf6367546b Add output tests for structs of structs Tim Hockin 2017-06-27 11:28:17 +01:00
  • dc44e85a86 #73 fix interface{} optimization for one ptr field struct and array Tao Wen 2017-06-26 22:37:24 +08:00
  • 85f7a1b0b3 Merge pull request #74 from thockin/output_tests Tao Wen 2017-06-26 21:49:06 +08:00
  • 507a446eda Add output_tests for structs of ptrs Tim Hockin 2017-06-26 06:07:17 -07:00
  • 76eefc25ba Add output_test for empty structs Tim Hockin 2017-06-26 05:45:54 -07:00
  • 21a16bd252 Add output_tests for structs of builtins Tim Hockin 2017-06-26 05:37:47 -07:00
  • 0c0c9f119f update value proposition Tao Wen 2017-06-26 14:28:03 +08:00
  • cf77980493 #71 fixed []byte alias Tao Wen 2017-06-26 14:25:56 +08:00
  • 7d681fe2c2 #71 fix map key type of string alias Tao Wen 2017-06-26 11:52:22 +08:00
  • 0c07128d3c #71 sort non string map keys Tao Wen 2017-06-26 10:42:47 +08:00