Crates.io | serde_encom |
lib.rs | serde_encom |
version | 0.3.2 |
source | src |
created_at | 2023-02-06 14:07:43.515178 |
updated_at | 2023-10-16 20:25:08.45639 |
description | Official EnCom library |
homepage | https://github.com/RoDmitry/serde_encom |
repository | https://github.com/RoDmitry/serde_encom |
max_upload_size | |
id | 777932 |
size | 483,749 |
As long as you use standard serialization, and don't use serde_bytes
, then the serialization output will be a valid string (utf8, not binary).
If you are using string &str
or byte &[u8]
slice in your resulting structure, it will not be copied (Zero-copy).
You can try encom_from_json!()
macro to convert your own JSON and test it. Resulting EnCom will be sorted alphabetically.
#[serde(serialize_with = "path")]
is passed, then serialize None}
in serializer