equal
deleted
inserted
replaced
87 // an error. |
87 // an error. |
88 func UnmarshalStrict(in []byte, out interface{}) (err error) { |
88 func UnmarshalStrict(in []byte, out interface{}) (err error) { |
89 return unmarshal(in, out, true) |
89 return unmarshal(in, out, true) |
90 } |
90 } |
91 |
91 |
92 // A Decorder reads and decodes YAML values from an input stream. |
92 // A Decoder reads and decodes YAML values from an input stream. |
93 type Decoder struct { |
93 type Decoder struct { |
94 strict bool |
94 strict bool |
95 parser *parser |
95 parser *parser |
96 } |
96 } |
97 |
97 |