Serialize object to JSON in Visual Studio debugger

Newtonsoft.Json.JsonConvert.SerializeObject(request)

Since .NET Core 3.0 you can use System.Text.Json:

System.Text.Json.JsonSerializer.Serialize(request)

In order to use CamelCase:

JsonConvert.SerializeObject(request, new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver() });