Commit Graph

665 Commits

Author SHA1 Message Date
Masaaki Goshima fa87dde0c3 Refactor skipValue 2021-02-15 18:46:34 +09:00
Masaaki Goshima 1f75cdd023 Initialize buffer size each streaming decoding 2021-02-15 18:46:34 +09:00
Masaaki Goshima cbe680fc5b
Merge pull request #132 from goccy/feature/add-opcode-for-ptr-field
Add pointer-type StructField operations to the encoder
2021-02-15 13:08:23 +09:00
Masaaki Goshima ddc486cc62 Add opcode for bool type to the encoder 2021-02-15 12:57:43 +09:00
Masaaki Goshima 565f1e866e Add cover_bool_test.go 2021-02-15 11:48:09 +09:00
Masaaki Goshima 72765ed523 Add StructField operation for ptr type 2021-02-15 11:31:49 +09:00
Masaaki Goshima 589c4b0350 Refactor cover_float64_test.go 2021-02-15 11:31:26 +09:00
Masaaki Goshima d8af48454d Refactor cover_float32_test.go 2021-02-15 11:29:42 +09:00
Masaaki Goshima 77dd50697f Refactor cover_uint64_test.go 2021-02-15 11:28:09 +09:00
Masaaki Goshima 159f30d9f9 Refactor cover_uint32_test.go 2021-02-15 11:27:57 +09:00
Masaaki Goshima 5e52d90f0d Refactor cover_uint16_test.go 2021-02-15 11:27:47 +09:00
Masaaki Goshima 631ee85a9e Refactor cover_uint8_test.go 2021-02-15 11:27:37 +09:00
Masaaki Goshima 4edf1b1d09 Refactor cover_uint_test.go 2021-02-15 11:24:35 +09:00
Masaaki Goshima e3eae7bbb6 Refactor cover_int64_test.go 2021-02-15 11:20:23 +09:00
Masaaki Goshima 06fd86dc55 Refactor cover_int32_test.go 2021-02-15 02:53:12 +09:00
Masaaki Goshima 6486503b70 Refactor cover_int16_test.go 2021-02-15 02:21:08 +09:00
Masaaki Goshima cfffa103ce Refactor cover_int8_test.go 2021-02-15 02:08:22 +09:00
Masaaki Goshima 7f406b7387 Refactor cover_int_test.go 2021-02-15 02:08:05 +09:00
Masaaki Goshima 402bd55e2f
Merge pull request #131 from goccy/feature/fix-interface
Fix decoding of pointer of empty interface type
2021-02-15 00:19:00 +09:00
Masaaki Goshima e917f04936 Fix decoding for nil value of empty interface type 2021-02-13 02:54:42 +09:00
Masaaki Goshima 6ebd44bb93 Fix decoding of pointer of empty interface type 2021-02-12 20:06:43 +09:00
Masaaki Goshima 336ad146cc
Merge pull request #130 from orisano/fix/decode-escaped-string-to-empty-interface
fix: fails decode escaped string to empty interface
2021-02-12 19:01:48 +09:00
Nao Yonashiro 405201e4f9 fix: use stringDecoder for decode escaped string to empty interface 2021-02-12 18:13:07 +09:00
Nao Yonashiro 10de43128b test: add test case of decode escaped string to empty interface 2021-02-12 18:12:40 +09:00
Masaaki Goshima c108435bc1
Merge pull request #127 from goccy/feature/remove-checking-key-termination
Optimize decoding of struct field
2021-02-11 22:24:53 +09:00
Masaaki Goshima f5d4fc66a3 Remove unnecessary comment 2021-02-11 22:17:18 +09:00
Masaaki Goshima f8c7c7a612 Optimize decoding of struct field 2021-02-11 22:10:14 +09:00
Masaaki Goshima 5daa24c97c
Merge pull request #126 from goccy/feature/remove-unnecessary-dependency-to-decoder
Remove unnecessary dependency on decoder
2021-02-11 02:41:13 +09:00
Masaaki Goshima 03be923662 Fix error by linter 2021-02-11 01:21:35 +09:00
Masaaki Goshima 20d1a5ada2 Enable noescape trick for decoder 2021-02-11 01:15:31 +09:00
Masaaki Goshima 3f90e88a94 Refactor Unmarshal/UnmarshalNoEscape 2021-02-11 00:45:38 +09:00
Masaaki Goshima 3b7d5a6996 Remove unnecessary dependency on decoder 2021-02-11 00:33:54 +09:00
Masaaki Goshima d7c9594839
Merge pull request #124 from vearutop/streaming-decode
Wait for io.EOF when decoding a stream
2021-02-10 15:32:50 +09:00
Viacheslav Poturaev 1926476780 Wait for io.EOF when decoding a stream, fixes #123 2021-02-09 17:56:27 +01:00
Masaaki Goshima 29dd8efd6f
Update README.md 2021-02-09 23:56:13 +09:00
Masaaki Goshima 266c968d66
Merge pull request #121 from GuillaumeRochat/patch-1
Fix broken links to segmentio/encoding and jettison
2021-02-09 23:09:41 +09:00
Guillaume Rochat 24a1d02e32
Fix broken links to segmentio/encoding and jettison
I pointed segmentio/encoding/json to `/tree/master/json`. Should it just be straight to the encoding repository root instead?
2021-02-09 08:45:52 -05:00
Masaaki Goshima 6db7a29972
Merge pull request #120 from goccy/feature/fix-interface
Fix decoding of interface{} type
2021-02-09 22:33:21 +09:00
Masaaki Goshima a57bc23adf Fix error by linter 2021-02-09 22:24:53 +09:00
Masaaki Goshima 98de7ff51b Fix error by linter 2021-02-09 22:20:23 +09:00
Masaaki Goshima 721f830cef Fix error handling of decoding of slice type 2021-02-09 22:19:13 +09:00
Masaaki Goshima 6befcb123e Fix decoding of interface type 2021-02-09 22:13:58 +09:00
Masaaki Goshima 5227e49c39 Fix decoding of interface type 2021-02-09 21:37:18 +09:00
Masaaki Goshima 3244416dae
Update README.md 2021-02-09 20:54:34 +09:00
Masaaki Goshima 5f1fcddcf5 Update README.md 2021-02-09 17:22:22 +09:00
Masaaki Goshima c468fd2db7
Merge pull request #117 from goccy/feature/fix-anonymous
Fix encoding of anonymous struct
2021-02-09 09:32:32 +09:00
Masaaki Goshima 7d83cfcea1 Fix error by linter 2021-02-09 09:25:33 +09:00
Masaaki Goshima d2de9a1eb5 Refactor 2021-02-09 09:23:15 +09:00
Masaaki Goshima 0d57bf1014 Fix encoding of anonymous struct 2021-02-09 09:20:48 +09:00
Masaaki Goshima b286747e6b
Update README.md 2021-02-08 18:30:27 +09:00