json stringify c#

C#
JsonConvert.SerializeObject(item)

Source

Also in C#: