It works for me to define the type to deserialize as following:
var ridt = JsonConvert.DeserializeObject<T>(ri_bdy);