Commit graph

75 commits

Author SHA1 Message Date
Masaaki Goshima
4dc8ed6703 Fix design of parser API 2019-11-05 17:02:55 +09:00
Masaaki Goshima
24557fef55 Add error handling 2019-11-01 14:27:03 +09:00
Masaaki Goshima
e4be76e5f8 Add Flow option for Encoder 2019-10-31 13:29:43 +09:00
Masaaki Goshima
55a8380520 Supports flow tag 2019-10-31 13:07:00 +09:00
Masaaki Goshima
81ac425557 Add constructor for MappingNode 2019-10-31 12:47:23 +09:00
Masaaki Goshima
e0346b2e61 Fix type of Values field of MappingNode to MappingValueNode 2019-10-31 12:38:44 +09:00
Masaaki Goshima
66d213ca41 Rename MappingCollectionNode to MappingNode 2019-10-31 12:14:39 +09:00
Masaaki Goshima
bf46097160 Supports encoding with inline tag and conflict key 2019-10-28 22:25:00 +09:00
Masaaki Goshima
b22b2bd40f Supports inline option for encoding 2019-10-28 21:37:12 +09:00
Masaaki Goshima
a5018e77d1 Rename Marshaler and Unmarshaler 2019-10-26 07:19:18 +09:00
Masaaki Goshima
6fe6726ab2 Add column number to value node to calculate indent 2019-10-25 15:01:55 +09:00
Masaaki Goshima
415d85231c Support Marshaler interface compatible with encoding/json package 2019-10-25 02:38:32 +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
bfb6d0ee45 Support encode using Marshaler or MapItem/MapSlice 2019-10-24 17:16:29 +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
293ee9861c Add document 2019-10-21 12:53:30 +09:00
Masaaki Goshima
82dd3a305f Add document 2019-10-21 01:29:32 +09:00
Masaaki Goshima
97fb2e2039 Support encoding with merge key ( like <<: *default ) 2019-10-20 21:47:48 +09:00
Masaaki Goshima
0664c632ad Support omitempty for Encoder 2019-10-20 20:50:43 +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