You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A known way to serialize/deserialize data is by using System.Text.Json. We should investigate how we might be able to use JSON to serialize/deserialize clipboard/drag data. JSON serialization would occur in WinFormsDataObjectToNativeAdapter.SaveObjectToHGLOBAL and ensure enough information is provided to be able to deserialize on the other side in NativeDataObjectToWinFormsAdapter.ReadObjectFromHGLOBAL. As part of this investigation we should be mindful about how this would work in harmony with the other work that is being done in the area and ensuring serialization/deserialization across different process still works as it does today
A known way to serialize/deserialize data is by using System.Text.Json. We should investigate how we might be able to use JSON to serialize/deserialize clipboard/drag data. JSON serialization would occur in WinFormsDataObjectToNativeAdapter.SaveObjectToHGLOBAL and ensure enough information is provided to be able to deserialize on the other side in NativeDataObjectToWinFormsAdapter.ReadObjectFromHGLOBAL. As part of this investigation we should be mindful about how this would work in harmony with the other work that is being done in the area and ensuring serialization/deserialization across different process still works as it does today
Useful links:
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/how-to
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/deserialization
The text was updated successfully, but these errors were encountered: