JSON to DataTable with multiple datas

Hello everyone, I have already managed to put JSON in datatable format, I have already succeeded with a 1-dimensional array.

However, this time I have several arrays in an object :

when I try, I get this error:

my configuration :slight_smile:

thanks a lot for your help


You cannot use direct casting for this…you have to iterate through thejson and use add datarow…

Check this on how to access multiple json nodes/token…

Rest is to loop and use add datarow as you require


1 Like

Hello Anil. Thank you for your answer I will then use the foreach and add my datarows.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.