MCPcopy Index your code
hub / github.com/davidhewitt/pythonize / deserialize_map

Method deserialize_map

src/de.rs:312–321  ·  view source on GitHub ↗
(self, visitor: V)

Source from the content-addressed store, hash-verified

310 }
311
312 fn deserialize_map<V>(self, visitor: V) -> Result<V::Value>
313 where
314 V: de::Visitor<'de>,
315 {
316 if let Some(dc_access) = self.dataclass_access()? {
317 visitor.visit_map(dc_access)
318 } else {
319 visitor.visit_map(self.dict_access()?)
320 }
321 }
322
323 fn deserialize_struct<V>(
324 self,

Callers 2

deserialize_anyMethod · 0.80
deserialize_structMethod · 0.80

Calls 2

dataclass_accessMethod · 0.80
dict_accessMethod · 0.80

Tested by

no test coverage detected