github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/views/json/testdata/diagnostic/error-with-multi-line-snippet.json (about)

     1  {
     2    "severity": "error",
     3    "summary": "In this house we respect booleans",
     4    "detail": "True or false, there is no maybe",
     5    "range": {
     6      "filename": "test.tf",
     7      "start": {
     8        "line": 4,
     9        "column": 11,
    10        "byte": 81
    11      },
    12      "end": {
    13        "line": 4,
    14        "column": 16,
    15        "byte": 86
    16      }
    17    },
    18    "snippet": {
    19      "context": "resource \"test_resource\" \"test\"",
    20      "code": "  bar = {\n    baz = maybe\n  }",
    21      "start_line": 3,
    22      "highlight_start_offset": 20,
    23      "highlight_end_offset": 25,
    24      "values": []
    25    }
    26  }