<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Decoding | go-yaml</title><link>https://go-openapi.github.io/go-yaml/examples/decoding/index.html</link><description>Reading YAML into Go values: struct tags, strictness, validation, streams,
anchors and key order.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://go-openapi.github.io/go-yaml/examples/decoding/index.xml" rel="self" type="application/rss+xml"/><item><title>A config with json tags</title><link>https://go-openapi.github.io/go-yaml/examples/decoding/json-tags/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/go-yaml/examples/decoding/json-tags/index.html</guid><description>Decode into a type tagged for encoding/json with UseJSONTags. Without it,
the json tags name nothing, and the decode returns no error.</description></item><item><title>Reject unknown fields</title><link>https://go-openapi.github.io/go-yaml/examples/decoding/unknown-fields/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/go-yaml/examples/decoding/unknown-fields/index.html</guid><description>Catch a typo in a configuration file with DisallowUnknownField, and read the
line and column off the error.</description></item><item><title>Validate on decode</title><link>https://go-openapi.github.io/go-yaml/examples/decoding/validate/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/go-yaml/examples/decoding/validate/index.html</guid><description>Check each struct as the decoder fills it with Validator, and get the error
back at the line that holds the bad value.</description></item><item><title>A stream of documents</title><link>https://go-openapi.github.io/go-yaml/examples/decoding/stream/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/go-yaml/examples/decoding/stream/index.html</guid><description>Read a multi-document stream one document at a time with NewDecoder, go on
past a document that fails, and stop where the stream cannot be read.</description></item><item><title>Anchors and merge keys</title><link>https://go-openapi.github.io/go-yaml/examples/decoding/anchors/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/go-yaml/examples/decoding/anchors/index.html</guid><description>Merge shared defaults with "&lt;&lt;", which the YAML 1.2 default does not do, and choose whether aliases share one Go value.</description></item><item><title>Keep key order</title><link>https://go-openapi.github.io/go-yaml/examples/decoding/key-order/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/go-yaml/examples/decoding/key-order/index.html</guid><description>Decode a document of unknown shape and write it back with its keys in the
author's order, with UseOrderedMap and MapSlice.</description></item><item><title>A type that decodes itself</title><link>https://go-openapi.github.io/go-yaml/examples/decoding/self-decoding/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/go-yaml/examples/decoding/self-decoding/index.html</guid><description>Decode a value written in its own notation with UnmarshalYAML, and a type you
do not own with CustomUnmarshaler or RegisterCustomUnmarshaler.</description></item></channel></rss>