Open fadedbee opened 3 years ago
This create is just what I need for use with serde_json.
Unfortunately, it doubles the length of all arrays when used with bincode, etc.
Is there a way of ignoring serde-hex for bincode serialisation, while keeping it for serde_json?
https://stackoverflow.com/questions/67145666/make-serde-only-produce-hex-strings-for-human-readable-serialiser
I notice that secp256k1 uses d.is_human_readable().
d.is_human_readable()
This create is just what I need for use with serde_json.
Unfortunately, it doubles the length of all arrays when used with bincode, etc.
Is there a way of ignoring serde-hex for bincode serialisation, while keeping it for serde_json?