how to print json data in c# code example Example: c# print object to json var json = new JavaScriptSerializer().Serialize(ObjectModel);