Commit Graph

16 Commits

Author SHA1 Message Date
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