Commit graph

23 commits

Author SHA1 Message Date
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
Masaaki Goshima
15aa70adaa Support gopkg.in/go-playground/validator.v9 based validation for YAML document 2019-10-26 10:08:44 +09:00
Masaaki Goshima
a5018e77d1 Rename Marshaler and Unmarshaler 2019-10-26 07:19:18 +09:00
Masaaki Goshima
db05e7d002 Support Unmarshaler interface compatible with encoding/json package
- Refactor by AST based decoding
2019-10-24 23:54:17 +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
d6a5e04d34 PoC for #4 2019-10-24 11:07:40 +09:00
Masaaki Goshima
17d7c6814e Use (go-yaml/errors).Wrapf instead of xerrors.Errorf 2019-10-23 16:40:26 +09:00
Masaaki Goshima
90c8d4c26b Support merge key ( << ) for Decoder 2019-10-21 14:54:26 +09:00
Masaaki Goshima
293ee9861c Add document 2019-10-21 12:53:30 +09:00
Masaaki Goshima
14ebb2f291 Remove ast.MappingNode 2019-10-21 02:55:09 +09:00
Masaaki Goshima
4459e2201a Fix bt gofmt -s and misspell 2019-10-21 01:28:48 +09:00
Masaaki Goshima
7ec36b5121 Refactor Encoder 2019-10-20 20:50:43 +09:00
Masaaki Goshima
8b6f1c6325 Support implicit declaration for anchor and alias 2019-10-20 13:31:29 +09:00
Masaaki Goshima
de8cc9f12b Support automatically alias detection 2019-10-20 13:06:32 +09:00
Masaaki Goshima
79017b4e1c Support encoding with Anchor or Alias 2019-10-19 22:02:15 +09:00
Masaaki Goshima
dce0f43e97 Add Encoder API 2019-10-19 18:29:27 +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