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

     1  {
     2    "severity": "error",
     3    "summary": "Tiny explosion",
     4    "detail": "Unexpected detonation while parsing",
     5    "range": {
     6      "filename": "test.tf",
     7      "start": {
     8        "line": 1,
     9        "column": 10,
    10        "byte": 9
    11      },
    12      "end": {
    13        "line": 1,
    14        "column": 25,
    15        "byte": 24
    16      }
    17    },
    18    "snippet": {
    19      "context": "resource \"test_resource\" \"test\"",
    20      "code": "resource \"test_resource\" \"test\" {",
    21      "start_line": 1,
    22      "highlight_start_offset": 9,
    23      "highlight_end_offset": 24,
    24      "values": []
    25    }
    26  }