convertJson2dArray<T> function
for use with dart default types
Implementation
List<List<T>> convertJson2dArray<T>(List<dynamic> json) {
return json.map((e) {
if (e is List<dynamic>) {
return convertJsonArray<T>(e);
} else {
return [] as List<T>;
}
}).toList();
}