How to Deserialize Two Dimensional Array of JSON Data to C# using Newtonsoft. Version 1.

preview_player
Показать описание
In this video, I will show you how to Deserialize Two Dimensional Arrays of JSON Data into C# classes, Version 1.

------------------------------------------------------*****----------------------------------------------------------------------
If you've found this videos useful and wish to show your support with a small XLM donation, feel free to use the following values:

XLM address
GC23BCI644P66PPNRGRMKFFVQZZXE3CSCGMFIYFV5OW4WCPM2XICKWQZ

XLM Memo
502087138
------------------------------------------------------*****--------------------------------------------------------------------

I made this video for you. I hope you'll be able to implement what you learned here, without the struggle I went through.

I have several other Newtonsoft DESERIALIZE videos, that I'm sure would assist your learning.

How to Loop over two dimensional arrays.

#softwareNuggets, #newtonsoft
Рекомендации по теме
Комментарии
Автор

really helpful, thank you for explaining this.

elaprimo
Автор

In your example, you define columns and index as arrays in your class objects, but define env as a List. Why didn't you make columns and index a List, too?

johnshed
Автор

Hey Team, here is the source code for this video. enjoy.

SoftwareNuggets
Автор

Well explained, thanks for that. What am I doing wrong. Have json in string, but when I try to Deserialize, I don't get the information as it should. Don't have the PC open right now, but it shows the content as parents and children parents etc. Can you tell, from your experience, what might be wrong?

KW
Автор

How do you handle null or empty values being passed in ?

badrulhussain
Автор

How would I handle multiple 'site' entries? Say for example I have site1 site2 site3, I don't know how many sites will be in the json file but I still want to create an object for each site without having to explicity have a cs class that contains site1 site2 site3 because again, I don't know how many 'sites' there will be and updating the json file then also requires me to update the cs class

LordBete
Автор

How to fetch and display the elements in "columns" ?

Jeyakesan