deserialize function
Deserializes a JSON string into a Dart datum.
You can also provide an output Type to attempt to serialize the JSON into.
Implementation
deserialize(String json, {Type? outputType}) {
var deserialized = deserializeJson(json, outputType: outputType);
logger.info("Deserialization result: $deserialized");
return deserialized;
}