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.
1 parent 37f7fc0 commit 36d4b3eCopy full SHA for 36d4b3e
src/data_tree/reflection.rs
@@ -24,7 +24,9 @@ use serde::{Deserialize, Serialize};
24
/// * To safely convert a `Reflection` into a valid `DataTree`,
25
/// use [`par_try_into_tree`](Self::par_try_into_tree).
26
///
27
-/// **Serialization and deserialization:** Requires enabling the `json` feature to enable `serde`.
+/// **Serialization and deserialization:** _(feature: `json`)_ `Reflection` implements
28
+/// [`Serialize`] and [`Deserialize`] traits, this allows functions in [`serde_json`] to convert
29
+/// a `Reflection` into/from JSON.
30
#[derive(Debug, Clone, PartialEq, Eq)]
31
#[cfg_attr(feature = "json", derive(Deserialize, Serialize))]
32
#[cfg_attr(feature = "json", serde(rename_all = "kebab-case"))]
0 commit comments