package jsonsyntax
import "github.com/hashicorp/hcl/v2/hclparse/jsonsyntax"
Package jsonsyntax exists only to register the ".json" suffix as using JSON syntax when parsing HCL configuration using the hcl.SimpleParse or hcl.SimpleParseFile functions.
To enable treating ".json" files as HCL JSON, import this package using an anonymous import:
import _ "github.com/hashicorp/hcl/v2/hclparse/jsonsyntax"
Index ¶
Source Files ¶
- Version
- v2.0.0-alpha.1
- Published
- Sep 12, 2019
- Platform
- darwin/amd64
- Imports
- 2 packages
- Last checked
- 56 minutes ago –
Tools for package owners.