code: func LoadJSON(raw json.RawMessage) (*Config, error) {
  	obj, err := hcl.Parse(string(raw))
  	if err != nil {
  		return nil, fmt.Errorf(
  			"Error parsing JSON document as HCL: %s", err)
  	}
  
  	// Start building the result
  	hclConfig := &hclConfigurable{
  		Root: obj,
  	}
  
  	return hclConfig.Config()
  }
docs: // LoadJSON loads a single Terraform configuration from a given JSON document.
  //
  // The document must be a complete Terraform configuration. This function will
  // NOT try to load any additional modules so only the given document is loaded.