Skip to content

Validate and test Clipboard JSON and raw data scenariosย #12919

@JeremyKuhne

Description

@JeremyKuhne

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

Metadata

Metadata

Labels

area-ClipboardIssues related to Clipboardarea-Serialization-BinaryFormatter-FeatureWorkFeature work under the general area of BinaryFormatter related serializationbinaryformatter-migrationIssues related to the removal of BinaryFormatter and migrations away from it

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions