Commit Graph

87 Commits

Author SHA1 Message Date
Masaaki Goshima 80acd42b80 Optimize streaming decoder 2020-07-31 17:10:03 +09:00
Masaaki Goshima 961b6a202e Add benchmark for stream decoding 2020-07-31 12:22:00 +09:00
Masaaki Goshima 20b67ad48d Support Decoder.Token 2020-07-30 22:41:53 +09:00
Masaaki Goshima b4b79620aa Add stream decoder 2020-05-24 21:31:10 +09:00
Masaaki Goshima 4acc22e0fe Support SyntaxError 2020-05-23 12:51:09 +09:00
Masaaki Goshima 12b34f0663
Update README.md 2020-05-14 22:05:25 +09:00
Masaaki Goshima e562358cdf Removed dependency on xerrors 2020-05-09 01:49:37 +09:00
Masaaki Goshima aae63769a1 Support MarshalerError 2020-05-09 01:38:00 +09:00
Masaaki Goshima 3d786b69c4
Update README.md 2020-05-09 01:12:36 +09:00
Masaaki Goshima d8d711ecf9 Add error type compatible with encoding/json 2020-05-09 01:07:33 +09:00
Masaaki Goshima a979b83d27 Add noescape trick for decoding 2020-05-09 00:00:08 +09:00
Masaaki Goshima df0365d82f
Update README.md 2020-05-08 20:38:44 +09:00
Masaaki Goshima bb169a5cf6 Support UnmarshalText for decoding 2020-05-08 20:25:49 +09:00
Masaaki Goshima c23e5f43a7 Support UnmarshalJSON 2020-05-08 20:22:57 +09:00
Masaaki Goshima ad8e97ff51 Update README.md 2020-05-08 20:21:20 +09:00
Masaaki Goshima 0c81ac6611 Remove easyjson from benchmark 2020-05-08 20:20:50 +09:00
Masaaki Goshima 9fe0063679 Support interface{} type for decoding 2020-05-08 15:13:30 +09:00
Masaaki Goshima 09bf666c9a Update README.md 2020-05-07 21:33:19 +09:00
Masaaki Goshima bc23c32f1a Reuse slice instance for decoding 2020-05-07 21:30:36 +09:00
Masaaki Goshima 4f979d764e Refactor skipValue 2020-05-07 20:02:55 +09:00
Masaaki Goshima 304c9ab4e2 Fix decoder for int and string type 2020-05-07 14:21:29 +09:00
Masaaki Goshima 936ff186dc Update README.md 2020-05-07 14:02:12 +09:00
Masaaki Goshima 2e232f1d63 Append NUL character to end of buffer 2020-05-07 13:57:17 +09:00
Masaaki Goshima ceed634708 Remove goto statement 2020-05-07 13:51:17 +09:00
Masaaki Goshima 3574217593 Improve performance decodeByte 2020-05-07 13:46:32 +09:00
Masaaki Goshima 4201966ee1 Improve performance skipWhiteSpace 2020-05-07 13:44:41 +09:00
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