From ef28deed85cffa99d2f649a6849bc4712a02353a Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 2 Sep 2016 17:46:43 +0100 Subject: [PATCH] Added hcl to json example for nested objects (#36) It was unclear how nested object example in hcl would map to json. README now updated to include an example of the son equivalent to a hcl nested object. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index e292d59..c822332 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,16 @@ variable "ami" { description = "the AMI to use" } ``` +This would be equivalent to the following json: +``` json +{ + "variable": { + "ami": { + "description": "the AMI to use" + } + } +} +``` ## Thanks