是否可以转换为json的
bool isJsonable(Object? object) { try { jsonEncode(object); return true; } catch (_) { return false; } }