fn from_json(&self, input: &str) -> PyResult<SimulatorDeviceWrapper> {
        Ok(SimulatorDeviceWrapper {
            internal: serde_json::from_str(input).map_err(|_| {
                PyValueError::new_err("Input cannot be deserialized to SimulatorDevice")
            })?,
        })
    }
/// Convert the json representation of a SimulatorDevice to a SimulatorDevice.
///
/// Args:
///     input (str): The serialized SimulatorDevice in json form.
///
/// Returns:
///     SimulatorDevice: The deserialized SimulatorDevice.
///
/// Raises:
///     ValueError: Input cannot be deserialized to SimulatorDevice.
Convert the json representation of a SimulatorDevice to a SimulatorDevice.
Args:
input (str): The serialized SimulatorDevice in json form.



Input cannot be deserialized to SimulatorDevice.
Convert the json representation of a SimulatorDevice to a SimulatorDevice . Args : input ( str ) : The serialized SimulatorDevice in json form . Input cannot be deserialized to SimulatorDevice .
fn from_json(&self, input: &str) -> PyResult<SimulatorDeviceWrapper> {
        Ok(SimulatorDeviceWrapper {
            internal: serde_json::from_str(input).map_err(|_| {
                PyValueError::new_err("Input cannot be deserialized to SimulatorDevice")
            })?,
        })
    }
fn from_json ( & self , input : & str ) -> PyResult < SimulatorDeviceWrapper > { Ok ( SimulatorDeviceWrapper { internal : serde_json :: from_str ( input ) . map_err ( | _ | { PyValueError :: new_err ( " " ) } ) ? , } ) }
Convert the json representation of a SimulatorDevice to a SimulatorDevice.
Convert the json representation of a SimulatorDevice to a SimulatorDevice .
&self
input
&str
&self
input
&str