Closed GoogleCodeExporter closed 9 years ago
Arrays of primitives are not supported. It is connected to issue
http://code.google.com/p/snakeyaml/issues/detail?id=135
There is no planning to support it in the nearest future. This is due to no
support for arrays in the Java Introspection API.
Original comment by py4fun@gmail.com
on 19 Dec 2012 at 1:29
It was not array of primitives. I was array of Double's, not double's:
Double[][][] weights.
Original comment by Kamil.So...@gmail.com
on 19 Dec 2012 at 1:43
[deleted comment]
It is the same problem. Java Introspection API does not provide the type of the
elements of arrays at runtime.
To make it more clear: Java does not have multidimensional arrays. What you
provide is an array where the values are primitives (arrays).
You can create the array as list of lists and then assign it to your business
object. But it requires to code your own way to create an instance.
Original comment by py4fun@gmail.com
on 20 Dec 2012 at 3:16
Since there is no clarification form the reporter the issue is closed
Original comment by py4fun@gmail.com
on 22 Jan 2013 at 5:19
Original issue reported on code.google.com by
Kamil.So...@gmail.com
on 18 Dec 2012 at 4:16