Commit Graph

65 Commits

Author SHA1 Message Date
Masaaki Goshima a324a29256 Pass test 2021-02-19 15:03:52 +09:00
Masaaki Goshima 413c811e37 WIP: workaround 2021-02-19 03:34:21 +09:00
Masaaki Goshima 0272fd00f4 WIP: Integrate int/uint operation 2021-02-19 03:06:21 +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 3304ee45bf Optimize getting of cached decoder 2021-02-04 18:00:08 +09:00
Masaaki Goshima 5a0faf65e4
Merge pull request #111 from goccy/feature/fix-lint
Fix error by linter
2021-02-01 22:48:56 +09:00
Masaaki Goshima 2a0d4603ea Fix error output by golangci-lint 2021-02-01 22:32:45 +09:00
Masaaki Goshima b431a095d6 Fix error by race detector 2021-02-01 20:02:43 +09:00
Masaaki Goshima 61e533dca2 Refactor encoder 2021-01-31 22:45:59 +09:00
Masaaki Goshima ddfae9189e Fix recursive call 2021-01-15 16:28:20 +09:00
Masaaki Goshima 67a7ac450b Add test cases for int type 2021-01-14 00:02:58 +09:00
Masaaki Goshima eb6fb3b15d Pass all tests 2021-01-09 13:55:34 +09:00
Masaaki Goshima 2356c0ceab Fix runtime error 2020-12-30 01:29:29 +09:00
Masaaki Goshima 5741c733a6 Refactor indent code 2020-12-25 17:03:56 +09:00
Masaaki Goshima f5daa592fa Improve encoding performance 2020-12-25 03:53:48 +09:00
Masaaki Goshima 6c3382dc4e Support multiple pointer 2020-12-23 13:13:34 +09:00
Masaaki Goshima 24aa07e47f Merge branch 'master' of github.com:goccy/go-json into feature/fix-decoder 2020-12-23 01:37:54 +09:00
Masaaki Goshima 01b439e41e Refactor buffering of encoder for improvement performance 2020-12-20 04:02:03 +09:00
Masaaki Goshima d88eb0986e Fix UnmarshalTypeError for int decoder 2020-12-15 12:29:19 +09:00
Masaaki Goshima 85577616f8 Support int and uint types as map key type 2020-12-12 18:09:46 +09:00
Masaaki Goshima 59f5713178 Fix double pointer 2020-12-07 10:49:00 +09:00
Masaaki Goshima 5a8383f0d2 Fix ptrIndex 2020-12-06 19:59:39 +09:00
Masaaki Goshima 3e1a1ac1ad Fix recursive anonymous field 2020-11-16 21:28:33 +09:00
Masaaki Goshima 4994bc5d04 Fix handling of comma as delimiter
Conflicts:
	encode_vm.go
2020-11-16 19:16:45 +09:00
Masaaki Goshima 9351afdb88 Fix pointer fields 2020-09-17 21:50:27 +09:00
Masaaki Goshima d76012422a Fix stream encoding 2020-09-17 01:26:39 +09:00
Masaaki Goshima aaea586778 Enable switch map processing at runtime 2020-09-16 18:15:47 +09:00
Masaaki Goshima 898d58b8b8 Supported sorted map 2020-09-16 14:51:37 +09:00
Masaaki Goshima 4f4060f808 Fix index number 2020-09-01 23:23:07 +09:00
Masaaki Goshima 3aa921e884 Fix encoding engine 2020-09-01 22:26:26 +09:00
Masaaki Goshima 72bc598dd4 Remove state variables from opcode 2020-08-31 21:59:22 +09:00
Masaaki Goshima a6276c4d8e Optimize opcode.idx and seenPtr 2020-08-31 03:14:37 +09:00
Masaaki Goshima a9e2386e42 Add opcodeIndex to opcode 2020-08-30 17:32:26 +09:00
Masaaki Goshima e508ad41ba Refactor indent parameter 2020-08-29 15:35:03 +09:00
Masaaki Goshima 7dcadbd6ce Refactor with encodeCompileContext 2020-08-29 15:11:31 +09:00
Masaaki Goshima 9ba13f68ff Add special operation for opStructFieldHead and opStructField 2020-08-24 01:50:18 +09:00
Masaaki Goshima cdf2498285 Fix processing of anonymous field 2020-08-22 18:15:39 +09:00
Masaaki Goshima 7ada1b2467 Fix conflicted anonymous fields 2020-08-22 15:40:18 +09:00
Masaaki Goshima a718a9a1ef Fix anonymous fields 2020-08-22 12:58:34 +09:00
Masaaki Goshima f434070076 Fix encoding of primitive pointer with string tag 2020-08-20 22:00:20 +09:00
Masaaki Goshima d3d5df5bd4 Fix []byte type of implemeting Marshaler 2020-08-20 17:58:28 +09:00
Masaaki Goshima 8d029cddbe Fix map key by UnmarshalText 2020-08-20 17:47:38 +09:00
Masaaki Goshima 74276c6af3 Fix decoder for string tag 2020-08-20 12:38:50 +09:00
Masaaki Goshima 22f3bba9a8 Support string tag operation 2020-08-19 19:56:02 +09:00
Masaaki Goshima 13a15040b3 Support encoding of []byte type 2020-08-19 10:34:11 +09:00
Masaaki Goshima 1d2beb8473 Add test cases for MarshalJSON and MarshalText 2020-08-19 00:32:45 +09:00
Masaaki Goshima 7ffe1ddb35 Fix MarshalJSON/MarshalText 2020-08-18 13:36:36 +09:00
Masaaki Goshima 65d954de3e Fix unnecessary recursive operation 2020-08-15 21:13:08 +09:00