3 references to TryJsonSerialize
System.Windows.Forms (3)
System\Windows\Forms\OLE\DataObject.cs (3)
107public void SetDataAsJson<T>(string format, T data) => SetData(format, TryJsonSerialize(format, data)); 111public void SetDataAsJson<T>(T data) => SetData(typeof(T), TryJsonSerialize(typeof(T).FullName!, data)); 149public void SetDataAsJson<T>(string format, bool autoConvert, T data) => SetData(format, autoConvert, TryJsonSerialize(format, data));