Closed frederik-uni closed 3 months ago
Some jsons do not use "" for key & value. Ive seen some jsons that don't use any quotation marks for keys/or only when needed & ' instead of ".
I don't know what the best way for deserializing this would be. maybe something like this.
#[serde_json(key_qm = "'")] #[serde_json(key_qm = "")] #[serde_json(value_qm = "'")]
or
serde_json::from_str_opt(s, opt)
I would prefer not to support formats other than JSON in this crate.
Some jsons do not use "" for key & value. Ive seen some jsons that don't use any quotation marks for keys/or only when needed & ' instead of ".
I don't know what the best way for deserializing this would be. maybe something like this.
or