Use the Deserialize trait for JSON just like for MusicBrainz #195

Closed
opened 2024-08-28 15:04:09 +02:00 by wojtek · 0 comments
Owner

The JSON (de)serialization makes use of TryFrom to convert from primitive types to core types in order to avoid implementing the Deserialize trait on core types. Instead newtypes can be defined on which the Deserialize trait can be implemented instead.

The JSON (de)serialization makes use of TryFrom to convert from primitive types to core types in order to avoid implementing the Deserialize trait on core types. Instead newtypes can be defined on which the Deserialize trait can be implemented instead.
wojtek added this to the v1.0.0-alpha.1 milestone 2024-08-28 15:04:09 +02:00
wojtek added the
chore
label 2024-08-28 15:04:09 +02:00
wojtek added reference 195---use-the-deserialize-trait-for-json-just-like-for-musicbrainz 2024-08-28 22:58:13 +02:00
Sign in to join this conversation.
No Milestone v1.0.0-alpha.1
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wojtek/musichoard#195
No description provided.