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 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
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wojtek/musichoard#195
No description provided.