Commit Graph

778 Commits

Author SHA1 Message Date
Masaaki Goshima 69e40becbf Fix encoding of omitempty feature for the slice or interface type 2021-04-10 16:25:45 +09:00
Masaaki Goshima 8bc5727ba4
Merge pull request #177 from WillAbides/valid
Make Valid more consistent with "encoding/json"
2021-04-10 15:47:52 +09:00
Masaaki Goshima ca141f38b6
Merge pull request #181 from goccy/feature/fix-180
Fix unnecessary indent for empty slice/array
2021-04-10 15:36:18 +09:00
Masaaki Goshima ae56d8371d Fix unnecessary indent 2021-04-10 15:25:02 +09:00
Will Roden 4cae8f7bc7 update Valid to return false when there is additional data after the validated value 2021-04-06 16:15:07 -05:00
Masaaki Goshima a39bc30ed9 Update CHANGELOG 2021-04-03 01:27:08 +09:00
Masaaki Goshima e66fb89902
Merge pull request #173 from goccy/feature/improve-decoder-interface-performance
Improve decoder performance for empty interface type
2021-04-02 20:46:39 +09:00
Masaaki Goshima 4d80b4b82c Improve decoder performance for empty interface type 2021-04-02 19:24:46 +09:00
Masaaki Goshima 2dda80b368 Update CHANGELOG 2021-04-02 16:34:59 +09:00
Masaaki Goshima 2622779349
Merge pull request #172 from goccy/feature/fix-recursive-slice
Fix encoding of recursive slice/map
2021-04-02 14:21:27 +09:00
Masaaki Goshima 7007d6ee41 Fix encoding of recursive slice/map 2021-04-02 14:03:00 +09:00
Masaaki Goshima fcd25024fe
Merge pull request #168 from goccy/feature/fix-indirect
Fix detection of indirect field
2021-03-31 19:58:21 +09:00
Masaaki Goshima f3aded9b12 Fix detection of indirect field 2021-03-30 19:37:19 +09:00
Masaaki Goshima 7d4316b94a Update README.md 2021-03-29 11:53:51 +09:00
Masaaki Goshima bcb5c87011
Merge pull request #167 from goccy/feature/fix-slice-decoder
Fix decoding of slice of pointer type
2021-03-29 03:11:36 +09:00
Masaaki Goshima bfbfa474d6 Add map type to initialize type list 2021-03-29 02:57:41 +09:00
Masaaki Goshima e660ae468d Fix pointer alignment error 2021-03-29 02:44:49 +09:00
Masaaki Goshima e38c3606b3 Fix decoding of slice pointer type 2021-03-29 02:28:04 +09:00
Masaaki Goshima ff31b04f58
Merge pull request #165 from goccy/feature/add-debug-mode
Add debug mode
2021-03-27 13:14:03 +09:00
Masaaki Goshima 943c6bc180 Fix codecov.yaml 2021-03-27 12:37:58 +09:00
Masaaki Goshima 5093e5bd78 Add type infromation to the debug information 2021-03-27 12:35:43 +09:00
Masaaki Goshima 44bc17ce8c ignore forbidigo 2021-03-27 12:24:04 +09:00
Masaaki Goshima 3d47fc9e41 Add debug mode 2021-03-27 12:18:19 +09:00
Masaaki Goshima 24b6dfedb4
Merge pull request #164 from goccy/feature/support-coerce-invalid-utf8
Support to coerce invalid utf8 char without performance down
2021-03-25 12:09:52 +09:00
Masaaki Goshima c9b6836fd3 Refactor 2021-03-25 11:42:56 +09:00
Masaaki Goshima a06b2c5f60 Support coerce invalid utf8 char 2021-03-25 00:24:53 +09:00
Masaaki Goshima 4195d7f38a
Merge pull request #163 from goccy/feature/invalid-string-option
Fix invalid string option
2021-03-24 20:02:48 +09:00
Masaaki Goshima 3a0fba4bdb Fix invalid string option 2021-03-24 19:09:33 +09:00
Masaaki Goshima c7f6ad7048
Update README.md 2021-03-22 22:16:59 +09:00
Masaaki Goshima 9903d614e3
Merge pull request #162 from goccy/feature/fix-marshaler
Fix encoding of MarshalJSON of function type
2021-03-22 21:49:15 +09:00
Masaaki Goshima 2bda5ef91f Fix encoding of MarshalJSON of function type 2021-03-22 21:29:16 +09:00
Masaaki Goshima 6128c69078 Update CHANGELOG.md 2021-03-21 04:08:37 +09:00
Masaaki Goshima 34986d5429
Merge pull request #161 from goccy/feature/fix-slice
Add slice test
2021-03-21 02:04:48 +09:00
Masaaki Goshima b364115cac Add slice test 2021-03-21 01:33:13 +09:00
Masaaki Goshima 336d414892
Merge pull request #160 from goccy/feature/use-type-alias
Use type alias for Delim/Token/RawMessage type
2021-03-20 21:33:07 +09:00
Masaaki Goshima 2bc5879dda
Merge pull request #159 from goccy/feature/optimize-omitempty-op
Optimize wrapped omitempty operation
2021-03-20 20:54:27 +09:00
Masaaki Goshima 9adc632469 Use type alias for Delim/Token/RawMessage type 2021-03-20 20:41:01 +09:00
Masaaki Goshima 906e29acda Optimize wrapped omitempty operation 2021-03-20 20:35:44 +09:00
Masaaki Goshima dcd9023ac5
Merge pull request #158 from goccy/feature/fix-marshal-json-indent-num
Fix indent number for OpMarshalJSON
2021-03-20 20:26:32 +09:00
Masaaki Goshima 29c30bdd14 Fix indent num for OpMarshalJSON 2021-03-20 20:13:55 +09:00
Masaaki Goshima 015b9c40be
Merge pull request #157 from goccy/feature/add-number-test
Add test case of encoder for json.Number type
2021-03-20 19:30:51 +09:00
Masaaki Goshima bd8efd020e Remove Go 1.13 from CI 2021-03-20 19:14:39 +09:00
Masaaki Goshima d0d58b9026 Add test case of encoder for json.Number type 2021-03-20 19:01:04 +09:00
Masaaki Goshima 16f6c377b4
Merge pull request #156 from goccy/feature/fix-compiler-bug
Fix bugs of nil pointer of typeAddr value
2021-03-20 18:41:47 +09:00
Masaaki Goshima f4a7cdf543 Fix bugs of nil pointer of typeAddr value 2021-03-20 18:24:13 +09:00
Masaaki Goshima 094f8da49e
Merge pull request #155 from goccy/feature/add-bytes-test
Fix encoding of primitive pointer types and []byte type
2021-03-20 00:14:53 +09:00
Masaaki Goshima ef29061807 Fix error by linter 2021-03-19 23:55:01 +09:00
Masaaki Goshima b2bbd63168 Fix compiler for encoder 2021-03-19 23:47:29 +09:00
Masaaki Goshima ff871cb20d Add bytes test 2021-03-19 23:31:29 +09:00
Masaaki Goshima f218f0fc44
Merge pull request #154 from goccy/feature/fix-recursive-op
Fix recursive operation
2021-03-19 16:07:18 +09:00