simd-json-derive
Derives for high performance JSON serialisation and deserialisation.
Usage
Supported Attributes
Attributres are supported for both #[simd_json(...)]
and for compatibilty also for #[serde(...)]
and follow the same naming conventions as serde.
For fields:
rename = "new_name"
- renames a field
For structs:
rename_all = "camelCase"
- renames all (not otherwise renamed) based on the rule,camelCase
is currently supporteddeny_unknown_fields
- Errors if unknown fields are encountered