Closed
Description
Description:
Deserialisation from JSON into BHoM does not handle nested lists elegantly.
Steps to reproduce:
Try loading this JSON and converting it into a CustomObject:
{
"Data": [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
[10, 11, 12],
[
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
[10, 11, 12]
]
]
}
Expected behaviour:
I'd like to be able to load from JSON containing this type of nested data structure. A recursive cast to List seems to work, but could be done within BHoM far more efficiently.