c# assign SJON object from string code example Example: string to json c# JObject json = JObject.Parse(str);