Commit Graph

155 Commits

Author SHA1 Message Date
Masaaki Goshima d84b6bca18 Fix recursive call 2021-03-11 17:59:22 +09:00
Masaaki Goshima b78ca46c15 Fix test 2021-03-11 16:46:14 +09:00
Masaaki Goshima 66d8dd9c61 Support json.Number 2021-03-11 14:58:33 +09:00
Masaaki Goshima 55cfca3b0a Fix test 2021-03-10 19:27:37 +09:00
Masaaki Goshima d0fb2a9a4e Fix opcode 2021-03-10 02:12:53 +09:00
Masaaki Goshima 37fb74bbb8 Fix pointer op 2021-03-10 01:11:48 +09:00
Masaaki Goshima d42d09f9f9 Add indent test 2021-03-09 21:38:58 +09:00
Masaaki Goshima 1342fd2042 Remove anonymous operation 2021-03-06 12:51:09 +09:00
Masaaki Goshima 6034aea48a Add test case for MarshalText type 2021-03-06 11:47:51 +09:00
Masaaki Goshima 3c85aa1ba4 refactor 2021-03-06 11:10:01 +09:00
Masaaki Goshima 9aa2047766 Remove unnecessary code 2021-03-06 00:15:58 +09:00
Masaaki Goshima 88cd2ddd6e Work MarshalJSON test 2021-03-05 23:57:44 +09:00
Masaaki Goshima 734267f9ae Add test case for MarshalJSON type 2021-03-05 18:40:09 +09:00
Masaaki Goshima 249c4da6dd Add nilcheck property 2021-03-05 15:10:31 +09:00
Masaaki Goshima d3b031cef2 WIP: add test case for MarshalJSON type 2021-03-05 13:23:47 +09:00
Masaaki Goshima 174fd57eae Remove unnecessary code 2021-03-04 19:03:18 +09:00
Masaaki Goshima cc84d92b1e Add map test 2021-03-04 18:50:39 +09:00
Masaaki Goshima bac05564e0 Add array test 2021-03-04 15:40:06 +09:00
Masaaki Goshima 64f98e3161 Add slice test 2021-03-04 00:13:33 +09:00
Masaaki Goshima 2a2a19319d Add slice test 2021-03-03 14:54:40 +09:00
Masaaki Goshima 83122027f5 Refactor encode_vm 2021-03-02 19:52:17 +09:00
Masaaki Goshima c6f40ed546 Remove only operation and add indirect property to opcode 2021-02-28 23:22:46 +09:00
Masaaki Goshima e60eabf9da Fix error by linter 2021-02-19 15:34:56 +09:00
Masaaki Goshima f7b1319735 Integrate int/int8/int16/int32/int64 and uint/uint8/uint16/uint32/uint64 operation to reduce memory usage at compile 2021-02-19 15:12:30 +09:00
Masaaki Goshima ddc486cc62 Add opcode for bool type to the encoder 2021-02-15 12:57:43 +09:00
Masaaki Goshima 72765ed523 Add StructField operation for ptr type 2021-02-15 11:31:49 +09:00
Masaaki Goshima 2a0d4603ea Fix error output by golangci-lint 2021-02-01 22:32:45 +09:00
Masaaki Goshima 04da39a443 Fix error message 2021-02-01 12:01:56 +09:00
Masaaki Goshima 61e533dca2 Refactor encoder 2021-01-31 22:45:59 +09:00
Masaaki Goshima 84c8b84671 Fix encoding of type which implemented MarshalJSON 2021-01-30 01:14:22 +09:00
Masaaki Goshima 02797daba4 Optimize map operation 2021-01-25 13:10:07 +09:00
Masaaki Goshima 689587cd72 Fix indent encoding 2021-01-25 00:06:16 +09:00
Masaaki Goshima 75f34df1c6 Fix interface operation 2021-01-24 23:27:23 +09:00
Masaaki Goshima 399354d64d Fix encoding runner interface 2021-01-24 15:17:39 +09:00
Masaaki Goshima 20b409ed1f Fix operation of StructFieldOmitEmptyMarshalJSON 2021-01-22 20:08:57 +09:00
Masaaki Goshima bf5220c3fb Fix struct end operation 2021-01-22 20:06:20 +09:00
Masaaki Goshima f8b2b03584 Fix forgot to add key in omitempty field 2021-01-22 18:31:07 +09:00
Masaaki Goshima fa4d5842e6 Fix encoding of pointered MarshalJSON type with omitempty 2021-01-22 18:26:28 +09:00
Masaaki Goshima d59cdefc1d Add StructFieldOmitEmptyStringPtr 2021-01-22 18:19:54 +09:00
Masaaki Goshima d933310ad4 Keep reference value while encoding by MarshalJSON 2021-01-22 16:28:12 +09:00
Masaaki Goshima 305e858ea1 Fix encoding with nil pointer type of implementing MarshalJSON 2021-01-22 13:28:33 +09:00
Masaaki Goshima d859255868 Add test cases for string type 2021-01-21 00:22:20 +09:00
Masaaki Goshima d1cfcb0450 Add test cases for float32/float64 type 2021-01-19 20:41:14 +09:00
Masaaki Goshima 9c6aff7317 Add test cases for unsigned integer types 2021-01-19 14:54:27 +09:00
Masaaki Goshima 5eaa3c023c Add test cases for int64 type 2021-01-18 22:35:10 +09:00
Masaaki Goshima 861236119a Add test cases for int32 type 2021-01-18 21:50:52 +09:00
Masaaki Goshima 87882a9111 Sort operation 2021-01-17 15:49:34 +09:00
Masaaki Goshima e9efe2fced Add test cases for int8 type 2021-01-17 02:53:54 +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