Commit Graph

23 Commits

Author SHA1 Message Date
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 4edbe3a346 Refactor encoder 2020-04-30 13:52:24 +09:00
Masaaki Goshima 95b2194742 Add optimized code 2020-04-30 11:56:56 +09:00
Masaaki Goshima 4f3b1262b2 Add VirtualMachine for Encoder 2020-04-30 00:31:50 +09:00
Masaaki Goshima 9034a6fca4 Support encoding for interface{} type 2020-04-28 18:25:51 +09:00
Masaaki Goshima 2c698a30a8 Fix build 2020-04-26 12:49:54 +09:00
Masaaki Goshima 015eb040ee Add reflect.rtype trick 2020-04-24 20:23:26 +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
Masaaki Goshima 39812b172b Fix public interface for encoding/json 2020-04-21 14:19:50 +09:00
Masaaki Goshima 37a7ac09ee Supports encoding of structure fields that should be ignored 2020-04-21 13:38:48 +09:00
Masaaki Goshima a573d86121 Support encoding for Array type 2020-04-21 13:19:53 +09:00
Masaaki Goshima ed5ee07fdf Support encoding for map type 2020-04-21 00:06:27 +09:00
Masaaki Goshima f1ad87fd71 Get pointer from interface{} (FYI: https://golang.org/src/reflect/value.go ) 2020-04-20 17:13:03 +09:00
Masaaki Goshima c515899c6d Fix encoding for struct field of pointer type 2020-04-20 03:25:26 +09:00
Masaaki Goshima 3e814f749f Support encoding of slice 2020-04-19 23:13:24 +09:00
Masaaki Goshima 61c8bdbf27 Support custom key name 2020-04-19 20:28:13 +09:00
Masaaki Goshima 1d576e23f8 Add encoder 2020-04-19 19:51:22 +09:00