I have a string something like:
String someString=[[((2016, 5, 21, 2, 0, 0), (2016, 5, 23, 7, 0, 0)), [('TASK1', 'DONE'), ('TASK2', 'DONE'), ('TASK3', 'DONE'), ('TASK4', 'DONE'), ('TASK5', 'DONE')]]]
I want to use this string to initialize a multidimensional array so that i can retrieve the values using indexes:
array[0]
should give ((2016, 5, 21, 2, 0, 0), (2016, 5, 23, 7, 0, 0))
array[0][1]
should give (2016, 5, 23, 7, 0, 0)
and so on ..
In python, I was able to do it easily using the eval function but not sure how to do it in Java.