We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Reflection
1 parent fddafe0 commit 0f4620bCopy full SHA for 0f4620b
src/data_tree/reflection.rs
@@ -27,6 +27,7 @@ use serde::{Deserialize, Serialize};
27
/// **Serialization and deserialization:** Requires enabling the `json` feature to enable `serde`.
28
#[derive(Debug, Clone, PartialEq, Eq)]
29
#[cfg_attr(feature = "json", derive(Deserialize, Serialize))]
30
+#[cfg_attr(feature = "json", serde(rename_all = "kebab-case"))]
31
pub struct Reflection<Name, Data: Size> {
32
/// Name of the tree.
33
pub name: Name,
0 commit comments