cbor icon indicating copy to clipboard operation
cbor copied to clipboard

change `from_reader` API to match that of `serde_yaml` and `serde_json`

Open droundy opened this issue 6 years ago • 0 comments

The order of the two generic arguments is swapped, which makes changing formats needlessly painful. This is obviously a breaking change, but would definitely ease use. I imagine there may be similar issues across the board. It might be even nicer for serde to define the API using a trait.

droundy avatar Nov 16 '19 13:11 droundy