Commit Graph

61 Commits

Author SHA1 Message Date
Masaaki Goshima f198ef6517 Remove context for decoding 2020-05-07 02:37:29 +09:00
Masaaki Goshima 82e8cc766f Fix decoderMap interface 2020-05-06 22:22:13 +09:00
Masaaki Goshima bad57364aa Update README.md 2020-05-05 19:19:45 +09:00
Masaaki Goshima e14c0b6b66 Improve performance for decoding ( use switch-case ) 2020-05-05 19:19:45 +09:00
Masaaki Goshima 2da797ecbb
Update README.md 2020-05-04 18:54:43 +09:00
Masaaki Goshima 33dcd50a5d Support MarshalJSON/MarshalText 2020-05-04 18:39:17 +09:00
Masaaki Goshima 786e87181f Update README.md 2020-05-03 22:21:47 +09:00
Masaaki Goshima 7eba678cef Add noescape trick for encoding 2020-05-03 22:19:55 +09:00
Masaaki Goshima 6602d2d38c Support SetEscapeHTML 2020-05-03 17:41:33 +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 e50e1d4878 Improve performance of skipWhiteSpace at decoding 2020-04-30 19:08:50 +09:00
Masaaki Goshima 0a48fecb1e Update benchmarks/go.mod 2020-04-30 14:01:56 +09:00
Masaaki Goshima 2bf83cdd16 Update README.md 2020-04-30 14:01:41 +09:00
Masaaki Goshima 6a479c7159
Merge pull request #1 from goccy/feature/encode-vm
Support VirtualMachine for encoding
2020-04-30 13:56:42 +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
Masaaki Goshima 95b2194742 Add optimized code 2020-04-30 11:56:56 +09:00
Masaaki Goshima 40544f1ea2 Optimize opcode 2020-04-30 01:44:48 +09:00
Masaaki Goshima 4f3b1262b2 Add VirtualMachine for Encoder 2020-04-30 00:31:50 +09:00
Masaaki Goshima 3b27b5f267 Use sync.Map for caching of decoder 2020-04-28 18:35:08 +09:00
Masaaki Goshima 9034a6fca4 Support encoding for interface{} type 2020-04-28 18:25:51 +09:00
Masaaki Goshima 4c7cec7071 Update benchmark 2020-04-26 15:27:29 +09:00
Masaaki Goshima 9b1349d40a Fix decoder 2020-04-26 15:22:55 +09:00
Masaaki Goshima 77059977ce Update README.md 2020-04-26 15:03:07 +09:00
Masaaki Goshima 3bd7507c30 Fix decoder 2020-04-26 14:59:45 +09:00
Masaaki Goshima 2c698a30a8 Fix build 2020-04-26 12:49:54 +09:00
Masaaki Goshima 1692ba6a3f
Update README.md 2020-04-26 12:12:52 +09:00
Masaaki Goshima 9710f3e0e5
Create go.yml 2020-04-26 12:11:35 +09:00
Masaaki Goshima f54e35c56c
Update README.md 2020-04-26 12:04:20 +09:00
Masaaki Goshima c37a3c1aac Fix benchmark 2020-04-26 12:03:17 +09:00
Masaaki Goshima b2f2a20f65 Remove debug code 2020-04-25 22:49:37 +09:00
Masaaki Goshima f36e24c8ae Add decoder for map type 2020-04-25 22:48:16 +09:00
Masaaki Goshima 71d6f845e5 Add decoder for Array or Slice type 2020-04-25 19:55:05 +09:00
Masaaki Goshima 146949a833 Update README.md 2020-04-24 22:02:46 +09:00
Masaaki Goshima 24447ce7e9 Add UnmarshalNoEscape 2020-04-24 21:57:11 +09:00
Masaaki Goshima 101def2916 Update README.md 2020-04-24 20:55:25 +09:00
Masaaki Goshima 43e676350c Fix test case 2020-04-24 20:55:21 +09:00
Masaaki Goshima 7bcc2071e9 Fix helper of testing 2020-04-24 20:48:15 +09:00
Masaaki Goshima 015eb040ee Add reflect.rtype trick 2020-04-24 20:23:26 +09:00
Masaaki Goshima cfde002d29 Add decoder of float 2020-04-24 16:46:12 +09:00
Masaaki Goshima 8409d60bdf Add test cases for decoder 2020-04-24 16:10:07 +09:00
Masaaki Goshima a523e61c20 Improve performance at decoding 2020-04-24 14:07:33 +09:00
Masaaki Goshima 508e4e4dcc Refactor decoder 2020-04-24 01:39:20 +09:00
Masaaki Goshima 416d1cf552 Support decoding for bool type 2020-04-22 18:51:42 +09:00
Masaaki Goshima 0c42c47179 Refactor decoder 2020-04-22 17:59:01 +09:00
Masaaki Goshima aa0aff6388 Remove unreachable error checking 2020-04-22 15:31:44 +09:00
Masaaki Goshima 31f2422545 Fix compile for encoding 2020-04-22 15:29:54 +09:00
Masaaki Goshima 2625e69825 Fix compile error of zero value 2020-04-22 13:52:42 +09:00
Masaaki Goshima 2c11838fe3 Add decoder 2020-04-22 13:06:52 +09:00