package parser
import "github.com/gohugoio/hugo/parser"
Index ¶
- func InterfaceToConfig(in any, format metadecoders.Format, w io.Writer) error
- func InterfaceToFrontMatter(in any, format metadecoders.Format, w io.Writer) error
- type LowerCaseCamelJSONMarshaller
- type NullBoolJSONMarshaller
- type ReplacingJSONMarshaller
Functions ¶
func InterfaceToConfig ¶
func InterfaceToFrontMatter ¶
Types ¶
type LowerCaseCamelJSONMarshaller ¶
type LowerCaseCamelJSONMarshaller struct { Value any }
Code adapted from https://gist.github.com/piersy/b9934790a8892db1a603820c0c23e4a7
func (LowerCaseCamelJSONMarshaller) MarshalJSON ¶
func (c LowerCaseCamelJSONMarshaller) MarshalJSON() ([]byte, error)
type NullBoolJSONMarshaller ¶
func (NullBoolJSONMarshaller) MarshalJSON ¶
func (c NullBoolJSONMarshaller) MarshalJSON() ([]byte, error)
type ReplacingJSONMarshaller ¶
func (ReplacingJSONMarshaller) MarshalJSON ¶
func (c ReplacingJSONMarshaller) 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.144.2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 13 hours ago –
Tools for package owners.