Allow JSON file upload

Hello,

I think it would be great if JSON files could be uploaded too. The response from the rhino.compute.appserver is a JSON, so when someone wants to post it as a file, they currently need to convert it to e.g. a txt first.
For example: ggTesselation component not working with rhino.compute/ compute.geometry

Generally the solution to non-supported Discourse file types is to .zip them and post the .zip.

You could also just copy and paste the json contents in a code block - enclose in triple backticks.

```json
{
  "key": "value"
}
```

becomes

{
  "key": "value"
}

When code becomes very long you’ll automatically get a scrollbar in a div with capped height.

I didn’t know about the scrollbar.
A whitelist for JSON would still be awesome imo.

That said, I did allow .json upload just now.

2 Likes