Commit graph

133 commits

Author SHA1 Message Date
Masaaki Goshima
3b54bfbc6e Fix TextUnmarshaler and BytesUnmarshaler 2020-06-23 12:39:50 +09:00
Masaaki Goshima
968a7172a8 Support escape characters in double quoted string 2020-06-20 14:10:17 +09:00
Masaaki Goshima
62e9a8dfee Fix handling of tab character at right position 2020-06-17 11:38:36 +09:00
Masaaki Goshima
80e0e8a66f Fix encoding when last node is literal 2020-06-16 22:37:59 +09:00
Masaaki Goshima
ddce176262 Fix UnmarshalBytes with Quoted string 2020-06-16 15:24:59 +09:00
Masaaki Goshima
bc023734c7 Fix sequence with literal include empty line 2020-06-16 14:58:49 +09:00
Masaaki Goshima
9565ed166b Fix processing of Literal with NewLineCharacter 2020-06-15 20:16:51 +09:00
Masaaki Goshima
2a15b3d6d1 Fix quoted string with new line character 2020-06-15 17:30:27 +09:00
Masaaki Goshima
597cf26773 Fix recursive alias 2020-06-15 13:48:17 +09:00
Masaaki Goshima
f9107996ab Fix column number at resolving of alias node 2020-06-11 20:40:27 +09:00
Masaaki Goshima
97e839c933 Resolve alias node before calling UnmarshalYAML([]byte) 2020-06-11 19:42:23 +09:00
Masaaki Goshima
c0e22be039 Fix reflection error in deleteStructKeys 2020-06-09 10:36:35 +09:00
Masaaki Goshima
4013d13463 Support decoding with DisallowDuplicateKey option for struct 2020-06-08 23:34:34 +09:00
Masaaki Goshima
3eacf18ea8 Fix panic at decoding of inlining pointer type with DisallowUnknownField option 2020-06-08 23:06:16 +09:00
Masaaki Goshima
997278a244 Fix test case by new result of PrintErrorTOken 2020-06-07 20:35:18 +09:00
Masaaki Goshima
5132bb68f3 Fix processing when specified empty token as map value 2020-06-03 17:52:23 +09:00
Masaaki Goshima
95f027399a Fix processing when specified empty token as map value 2020-06-03 17:12:33 +09:00
Masaaki Goshima
2288b1c448 Support DisallowDuplicateKey and Strict option for Decoder 2020-06-01 17:26:27 +09:00
Masaaki Goshima
68532a40e3 Support stream decoding 2020-06-01 16:14:20 +09:00
Masaaki Goshima
fe875b3705 Add UseOrderedMap option 2020-05-29 19:47:47 +09:00
Masaaki Goshima
abe15e4a1c Fix handling of escape character in quotation 2020-05-29 18:09:51 +09:00
Masaaki Goshima
ae7001787c Support decoding for MapItem and MapSlice 2020-05-28 17:30:19 +09:00
k1LoW
81313a9432 Support "c-directives-end marker only" document. 2020-03-07 14:59:56 +09:00
Masaaki Goshima
21ecc76cf7 Fix decoding for literal with BytesUnmarshaler 2020-03-06 08:05:57 +09:00
Masaaki Goshima
6dca3ab58f Fix decoding of MergeKey 2020-03-02 16:18:13 +09:00
k1LoW
0b3ce0180a Distinguish between empty ptr value (e.g. *int, *string) and nil ptr value 2020-02-22 11:46:09 +09:00
Kyoichiro Yamada
e4402a83e0 remove json sample 2020-01-15 11:29:25 +09:00
Kyoichiro Yamada
8c0eb326e4 move decode tests to decode_test.go 2020-01-14 22:50:50 +09:00
kitagawa
3032e43e20 Fix error and Refactoring 2019-12-18 13:26:59 +09:00
kitagawa
7ae4096801 Merge branch 'master' into fix-disallow-unknown-field 2019-12-14 14:45:14 +09:00
Masaaki Goshima
61467027bd Supports default value in decoding for struct 2019-12-14 11:55:23 +09:00
kitagawa
3ba8abd35a Fix test case. 2019-12-13 15:00:04 +09:00
kitagawa
5b44bcd216 Fix disallowUnknownField for inline struct 2019-12-13 13:33:56 +09:00
kitagawa
6697bfad47 Rename variables 2019-12-11 13:07:34 +09:00
kitagawa
d24747ebcb Merge branch 'master' into disallowUnknownField 2019-12-11 10:41:25 +09:00
Masaaki Goshima
2f17b05e19 Improve code coverage for inline struct 2019-12-11 00:41:05 +09:00
kitagawa
1b4a323a84 typo 2019-12-10 18:50:25 +09:00
kitagawa
97bc526804 Add disallowUnknownField Option 2019-12-10 18:41:23 +09:00
Masaaki Goshima
115432ad66 Returns decoding error for type mismatch or overflow number 2019-12-10 14:33:08 +09:00
Daisuke Maki
45fd347c28 Add documentation and example tests 2019-11-14 09:12:39 +09:00
lestrrat
e2dd9ce70b
Merge branch 'master' into topic/json-struct-tags 2019-11-13 18:54:40 +09:00
Masaaki Goshima
be91749a25 Remove tag handling without identifier 2019-11-13 12:16:26 +09:00
Daisuke Maki
a48f5a3a84 Add support for json struct tags 2019-11-13 10:31:00 +09:00
Songmu
106dca2d2b support CR 2019-11-09 17:20:39 +09:00
Masaaki Goshima
00a1ab9104 Fix handling of quotation character 2019-11-07 18:08:12 +09:00
Masaaki Goshima
41320deceb Fix multi bytes handling 2019-11-07 18:01:45 +09:00
Masaaki Goshima
a5c9b0d532 Support multi bytes encoding/decoding 2019-11-07 17:18:17 +09:00
Masaaki Goshima
57e63c374e Fix nested flow style 2019-11-07 13:00:00 +09:00
Masaaki Goshima
e334b05879
Merge pull request #23 from Songmu/ignore-field-in-embedded
care the case that ignored struct fields are in embedded struct
2019-11-07 00:23:16 +09:00
Masaaki Goshima
aa77b78365 Fix indicator handling 2019-11-06 19:28:47 +09:00