I believe the following snippet is what you're looking for.
request.AddParameter("application/json", json, ParameterType.RequestBody);