Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate and test Clipboard JSON and raw data scenarios #12919

Open
JeremyKuhne opened this issue Feb 11, 2025 · 0 comments
Open

Validate and test Clipboard JSON and raw data scenarios #12919

JeremyKuhne opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels
area-Clipboard Issues related to Clipboard area-Serialization-BinaryFormatter-FeatureWork Feature work under the general area of BinaryFormatter related serialization binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it
Milestone

Comments

@JeremyKuhne
Copy link
Member

The new write as JSON APIs should be visible to all Clipboard/DataObject API callers (existing or new API).

  • In or out of process
  • With copy = true or not
  • Legacy platforms with type access to System.Text.Json and BinaryFormatter

We should also be able to retrieve raw data

  • Need full tests documenting legacy MemoryStream behavior to ensure the following points are sensible
  • Asking for <MemoryStream> in new typed APIs should always give back the raw stream for HGLOBAL
  • Asking for <SerializationRecord> should NRBF decode HGLOBAL data
@JeremyKuhne JeremyKuhne self-assigned this Feb 11, 2025
@JeremyKuhne JeremyKuhne added this to the 10.0 Preview2 milestone Feb 11, 2025
@JeremyKuhne JeremyKuhne added area-Clipboard Issues related to Clipboard area-Serialization-BinaryFormatter-FeatureWork Feature work under the general area of BinaryFormatter related serialization binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Clipboard Issues related to Clipboard area-Serialization-BinaryFormatter-FeatureWork Feature work under the general area of BinaryFormatter related serialization binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it
Projects
None yet
Development

No branches or pull requests

1 participant