Commit Graph

53 Commits

Author SHA1 Message Date
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
Masaaki Goshima 025ac2a53b Support embedded struct 2020-08-15 17:41:38 +09:00
Masaaki Goshima 45f59f6fff Refactor compileStruct 2020-08-14 22:44:09 +09:00
Masaaki Goshima 2a99704531 Fix recursive definition of struct 2020-08-13 15:26:35 +09:00
Masaaki Goshima b71f7da8bc Fix recursive type definition 2020-08-12 18:42:29 +09:00
Masaaki Goshima ee13701278 Add Compact/Indent/HTMLEscape/Valid 2020-08-12 16:54:15 +09:00
Masaaki Goshima 7eafd08a56 Fix encoding of struct field after omitempty field 2020-08-08 18:53:01 +09:00
Masaaki Goshima d8d711ecf9 Add error type compatible with encoding/json 2020-05-09 01:07:33 +09:00
Masaaki Goshima 33dcd50a5d Support MarshalJSON/MarshalText 2020-05-04 18:39:17 +09:00
Masaaki Goshima 3d7267abc8 Add MarshalIndent 2020-05-02 23:35:41 +09:00
Masaaki Goshima 03a21193fc Support omitempty 2020-05-01 13:12:01 +09:00
Masaaki Goshima 4edbe3a346 Refactor encoder 2020-04-30 13:52:24 +09:00
Masaaki Goshima 090887bf7e Support Map and Interfacfe{} type for encoding of vm based 2020-04-30 13:39:47 +09:00