package parser
import "github.com/gohugoio/hugo/parser"
Index ¶
- func InterfaceToConfig(in interface{}, format metadecoders.Format, w io.Writer) error
- func InterfaceToFrontMatter(in interface{}, format metadecoders.Format, w io.Writer) error
- type LowerCaseCamelJSONMarshaller
Functions ¶
func InterfaceToConfig ¶
func InterfaceToConfig(in interface{}, format metadecoders.Format, w io.Writer) error
func InterfaceToFrontMatter ¶
func InterfaceToFrontMatter(in interface{}, format metadecoders.Format, w io.Writer) error
Types ¶
type LowerCaseCamelJSONMarshaller ¶
type LowerCaseCamelJSONMarshaller struct {
Value interface{}
}
Code adapted from https://gist.github.com/piersy/b9934790a8892db1a603820c0c23e4a7
func (LowerCaseCamelJSONMarshaller) MarshalJSON ¶
func (c LowerCaseCamelJSONMarshaller) MarshalJSON() ([]byte, error)
Source Files ¶
frontmatter.go lowercase_camel_json.go
Directories ¶
Path | Synopsis |
---|---|
parser/metadecoders | |
parser/pageparser | Package pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo. |
- Version
- v0.60.0
- Published
- Nov 27, 2019
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 2 hours ago –
Tools for package owners.