Documentation ¶
Index ¶
- func Bytes(bytes []byte, filename string, options Options) ([]byte, error)
- func ConvertFile(file *hcl.File, options Options) (jsonObj, error)
- func ConvertFileContent(fileContent []byte, filePath string) (map[string]interface{}, error)
- func File(file *hcl.File, options Options) ([]byte, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes ¶
Bytes takes the contents of an HCL file, as bytes, and converts them into a JSON representation of the HCL file.
func ConvertFileContent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.