convert string object to json object in dotnet core code example Example: string to json c# JObject json = JObject.Parse(str);