-
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
area::libCdpAll things related to the custom implementationAll things related to the custom implementationgood first issueGood for newcomersGood for newcomerstype::feature-requestNew feature or requestNew feature or request
Description
Use source generation for json serialization to improve performance and enable trimming.
android/lib/ShortDev.Microsoft.ConnectedDevices/Messages/Connection/DeviceInfo/DeviceInfoMessage.cs
Line 14 in a6a318b
| DeviceInfo = JsonSerializer.Deserialize<CdpDeviceInfo>(reader.ReadStringWithLength()) ?? throw new CdpProtocolException("Invalid device info") |
android/lib/ShortDev.Microsoft.ConnectedDevices/Messages/Connection/DeviceInfo/DeviceInfoMessage.cs
Line 24 in a6a318b
| writer.WriteWithLength(JsonSerializer.Serialize(DeviceInfo)); |
See a93710a for example
Metadata
Metadata
Assignees
Labels
area::libCdpAll things related to the custom implementationAll things related to the custom implementationgood first issueGood for newcomersGood for newcomerstype::feature-requestNew feature or requestNew feature or request
Type
Projects
Status
🗓 Planned