I'm having issues using the JsonConver.SerializeObject function to serialize a string when using Unity IL2CPP scripting backend. My understanding is that since JsonConvert uses reflection IL2CPP cannot use this function because it is pre-compiled. I'm also using the Holotoolkit which uses the Newtonsoft.dll so I don't believe using the JSON .NET for Unity package is feasible as it will conflict with the Newtonsoft.dll
Anyone run into this or have any suggestions on how to resolve?