Versions in this module Expand all Collapse all v0 v0.63.3 Jan 28, 2020 Changes in this version + var Default = Decoder + type Decoder struct + Comment rune + Delimiter rune + func (d Decoder) FormatFromContentString(data string) Format + func (d Decoder) OptionsKey() string + func (d Decoder) Unmarshal(data []byte, f Format) (interface{}, error) + func (d Decoder) UnmarshalFileToMap(fs afero.Fs, filename string) (map[string]interface{}, error) + func (d Decoder) UnmarshalStringTo(data string, typ interface{}) (interface{}, error) + func (d Decoder) UnmarshalToMap(data []byte, f Format) (map[string]interface{}, error) + type Format string + const CSV + const JSON + const ORG + const TOML + const YAML + func FormatFromFrontMatterType(typ pageparser.ItemType) Format + func FormatFromMediaType(m media.Type) Format + func FormatFromString(formatStr string) Format