Commit graph

24 commits

Author SHA1 Message Date
Shuhei Kitagawa
c8cc5c583f
Fix indentation for raw string newlines (#625)
https://github.com/goccy/go-yaml/issues/292
2025-01-31 10:27:06 +09:00
Carlos Fdez. Llamas
80a7d8516f
Remove reference to DisallowDuplicateKey, which was removed in (#609) 2025-01-04 00:17:14 +09:00
Masaaki Goshima
9c6665c9b4
support to disallow duplicate map key at parsing (#531) 2024-11-13 18:29:20 +09:00
Masaaki Goshima
4052b059bc
Supports dynamically switch encode and decode processing for a given type (#368) 2023-04-02 10:50:03 +09:00
Masaaki Goshima
15640065c7
Fix comment option (#349) 2023-03-01 16:59:07 +09:00
Viktor Stanchev
e8c5eef27a
add UseSingleQuote option 2021-11-06 02:53:14 +00:00
Masaaki Goshima
b034e1ce7f
Support CommentToMap option 2021-09-07 19:49:15 +09:00
Masaaki Goshima
43175b6e44 Support WithComment option 2021-07-20 14:26:02 +09:00
Florian Rey
4768d503b1 Support sequence indentation 2021-06-29 16:35:54 +02:00
Alberto Marchetti
b2c149ae52 Merge remote-tracking branch 'origin/multiline-block-fix' into multiline-block-fix
# Conflicts:
#	encode.go
2020-11-18 07:36:24 +02:00
Alberto Marchetti
47f32d7bb0 * Addressed PR comments
* Added support for encode options in encoder test
2020-11-18 07:35:17 +02:00
Alberto Marchetti
19ecaa472c
Merge branch 'master' into multiline-block-fix 2020-11-03 07:05:16 +02:00
Masaaki Goshima
c395c330c5 Add UseJSONMarshaler option for encoder and UseJSONUnmarshaler option for decoder 2020-10-26 19:00:49 +09:00
Alberto Marchetti
d82b4091f5 * force block as option
* more tests
2020-10-05 06:18:09 +03:00
Masaaki Goshima
bb698f096d Supports encoding in JSON format 2020-06-02 19:56:02 +09:00
Masaaki Goshima
2288b1c448 Support DisallowDuplicateKey and Strict option for Decoder 2020-06-01 17:26:27 +09:00
Masaaki Goshima
fe875b3705 Add UseOrderedMap option 2020-05-29 19:47:47 +09:00
Masaaki Goshima
3544475f12 Support MarshalAnchor option for encoder 2020-01-09 13:33:10 +09:00
kitagawa
97bc526804 Add disallowUnknownField Option 2019-12-10 18:41:23 +09:00
Masaaki Goshima
e4be76e5f8 Add Flow option for Encoder 2019-10-31 13:29:43 +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
82dd3a305f Add document 2019-10-21 01:29:32 +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