[PATCH] Adding TResponse.JSONContent to httpdefs
<h3><details><summary>Original Reporter info from Mantis: <small>MarcusF</small></summary><small>
- **Reporter name:** Marcus Fernstrom
</small></details></h3>
## Description:
Added ability to use TJSONData in content, also sets ContentType.
Example:
``` pascal
procedure jsonEndpoint(aRequest : TRequest; aResponse : TResponse);
var
jObject : TJSONObject;
begin
jObject := TJSONObject.Create;
try
jObject.Booleans['success'] := true;
aResponse.JSONContent := jObject ;
aResponse.SendContent;
finally
jObject.Free;
end;
end;
```
## Mantis conversion info:
- **Mantis ID:** 38435
issue