package
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Feb 23, 2022
License: LGPL-2.1
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Commands used to load and parse various formats of serialized data (JSON, YAML, etc.)
func (*Commands) Json ¶
func (self *Commands) Json(fileOrReader interface{}) (interface{}, error)
Parses the given file as a JSON document and returns the resulting value.
func (*Commands) Yaml ¶
func (self *Commands) Yaml(fileOrReader interface{}) (interface{}, error)
Parses the given file as a YAML document and returns the resulting value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.