Enables or disables reference tracking for shared and circular references. # Arguments `track_ref` - If `true`, enables reference tracking which allows preserving shared object references and circular references during serialization/deserialization. # Returns Returns `self` for method chaining. # Default The default value is `false`. # Examples ```rust use fory_core::Fory; let fory = Fory
(mut self, track_ref: bool)
| 257 | /// let fory = Fory::builder().track_ref(true).build(); |
| 258 | /// ``` |
| 259 | pub fn track_ref(mut self, track_ref: bool) -> Self { |
| 260 | self.config.track_ref = track_ref; |
| 261 | self |
| 262 | } |
| 263 | |
| 264 | /// Sets the maximum depth for nested dynamic object serialization. |
| 265 | /// |
no outgoing calls