Commit Graph

122 Commits

Author SHA1 Message Date
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
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 936b55a2d3 Add benchmark 2020-04-19 20:27:56 +09:00
Masaaki Goshima 1d576e23f8 Add encoder 2020-04-19 19:51:22 +09:00
Masaaki Goshima 9bcae1f0c8
Initial commit 2020-04-19 18:32:37 +09:00