<commit_before># JSON renderer

You can specify the following in your `supersamples.opts`:

```json
{

  "renderers": {

    "json": {

      // Relative path to the output file
      "outputFile": "path/to/file.json"

    }

  }

}
```

Which will generate the following file format:

```json
[
  {
    "id": 5,
    "summary": "Cancelling a ticket\n\n- this is an **authenticated** call\n- your account will be re-credited with the amount",
    "hierarchy": [
      "User",
      "Tickets",
      "Cancelling a ticket"
    ],
    "request": {
      "headers": {
        "accept": "application/json"
      },
      "method": "DELETE",
      "path": "/tickets/123",
      "route": "/tickets/:id"
    },
    "response": {
      "status": 204,
      "headers": {},
      "body": ""
    },
    "snippets": {
      "curl": "curl -X DELETE -H \"accept: application/json\" \"http://my-api.com/tickets/123\""
    }
  },
  {<commit_msg>README syntax highlighting<commit_after># JSON renderer

You can specify the following in your `supersamples.opts`:

```js
{

  "renderers": {

    "json": {

      // Relative path to the output file
      "outputFile": "path/to/file.json"

    }

  }

}
```

Which will generate the following file format:

```js
[
  {
    "id": 5,
    "summary": "Cancelling a ticket\n\n- this is an **authenticated** call\n- your account will be re-credited with the amount",
    "hierarchy": [
      "User",
      "Tickets",
      "Cancelling a ticket"
    ],
    "request": {
      "headers": {
        "accept": "application/json"
      },
      "method": "DELETE",
      "path": "/tickets/123",
      "route": "/tickets/:id"
    },
    "response": {
      "status": 204,
      "headers": {},
      "body": ""
    },
    "snippets": {
      "curl": "curl -X DELETE -H \"accept: application/json\" \"http://my-api.com/tickets/123\""
    }
  },
  {
{'fraction_non_alphanumeric': 0.18142780461621041, 'fraction_numerical': 0.010735373054213635, 'mean_word_length': 2.1754684838160134, 'pattern_counts': {'":': 36, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '95170', 'n_tokens_mistral': 679, 'n_tokens_neox': 635, 'n_words': 160}