Commit graph

16 commits

Author SHA1 Message Date
Masaaki Goshima
21e33cdcf6 Add decoder test case 2019-10-29 16:22:55 +09:00
Masaaki Goshima
13e2ab983c Supports decoding with inline tag and conflict key 2019-10-28 22:44:21 +09:00
Masaaki Goshima
e3cad23cac Supports inline option for decoding 2019-10-28 22:12:23 +09:00
Daisuke Maki
40ece17985 documentation about he (Un)?Marshalers 2019-10-26 18:39:15 +09:00
Masaaki Goshima
0c4eb3855b
Merge pull request #7 from goccy/feature/add-api-compatible-with-go-yaml
Supports Marshaler and Unmarshaler
2019-10-24 17:33:03 +09:00
Masaaki Goshima
fc58867f02 Support decode using Unmarshaler 2019-10-24 17:18:03 +09:00
Daisuke Maki
20adab4162 small fixes here and there, documentation 2019-10-24 15:28:41 +09:00
Daisuke Maki
d6a5e04d34 PoC for #4 2019-10-24 11:07:40 +09:00
Masaaki Goshima
c5db11901c Improve error format
- %v : beautiful syntax error with source code
- %#+v : error with stack trace ( for debugging )
- others : simple syntax error ( without source code )
2019-10-23 03:21:42 +09:00
Masaaki Goshima
90c8d4c26b Support merge key ( << ) for Decoder 2019-10-21 14:54:26 +09:00
Masaaki Goshima
4459e2201a Fix bt gofmt -s and misspell 2019-10-21 01:28:48 +09:00
Masaaki Goshima
83f8d55fd1 Support reference to anchor defined by the other file 2019-10-18 15:20:09 +09:00
Masaaki Goshima
ae67570d98 Support Anchor and Alias 2019-10-18 14:27:49 +09:00
Masaaki Goshima
c9d06847f5 Add Unmarshal test 2019-10-18 13:05:36 +09:00
Masaaki Goshima
1abaf8be5e Support decoding for struct type 2019-10-18 12:55:38 +09:00
Masaaki Goshima
c586811095 Add prototype of yaml.Decoder 2019-10-18 00:01:25 +09:00