pub fn deserialize_custom_from_json(
type_name: &str,
payload: &[u8],
) -> PyResult<CustomData>Expand description
Deserializes custom data from JSON bytes into a PyO3 CustomData wrapper.
ยงErrors
Returns a PyErr if the type is not registered or JSON deserialization fails.