Documentation
¶
Overview ¶
Package parsers houses the build-in parser functions that are registered with please
Index ¶
- func Csv(input []byte) (interface{}, error)
- func Html(input []byte) (interface{}, error)
- func Identify(input []byte) (string, interface{}, error)
- func Json(input []byte) (interface{}, error)
- func Mime(input []byte) (interface{}, error)
- func Names() []string
- func Query(input []byte) (interface{}, error)
- func Register(name string, parser Parser) error
- func Xml(input []byte) (interface{}, error)
- func Yaml(input []byte) (interface{}, error)
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Identify ¶
Identify tries to figure out the format of the structured data passed in If successful, the name of the detected format and a copy of its data parsed into an interface{} will be returned If the data format could not be identified, an error will be returned
func Names ¶
func Names() []string
Names returns a sorted list of valid options for the "format" parameter of Parse
Types ¶
Click to show internal directories.
Click to hide internal directories.