Step by Step Tutorial: Deserializing JSON using c# and json.net

Step by Step Tutorial: Deserializing JSON using c# and json.net

Les Jackson

6 лет назад

169,539 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@GonzoGonschi
@GonzoGonschi - 20.11.2023 17:28

really fantastic tutorial. I like the calm and thorough attitute ;)

Ответить
@glynnwestwood4751
@glynnwestwood4751 - 27.04.2023 20:29

Excellent video. I had only 'heard' of JSON up until this morning... now I'm an expert!!! :D Just kidding, many thanks even 6yrs later!

Ответить
@CodingByAmp
@CodingByAmp - 08.04.2023 11:51

thank you

Ответить
@phillismable6303
@phillismable6303 - 01.02.2023 16:58

Was there source code to go with this as hate typing and watching videos as I get lost

Ответить
@kiranhyde
@kiranhyde - 27.01.2023 20:26

Hi Les, Thanks for the great tutorial. Q) why are you creating classes with a class instead of keeping them seperate?

Ответить
@kavin18932
@kavin18932 - 05.01.2023 04:53

Increase your font size please

Ответить
@satyamsoam6673
@satyamsoam6673 - 26.11.2022 08:47

Sir, if our text file have multiple jason object than how we can fetch one object on the base of id or some other parameters any idea please reply

Ответить
@its_liren
@its_liren - 20.11.2022 11:29

THANK YOU!!

Ответить
@edthomas4029
@edthomas4029 - 12.10.2022 13:45

I'm right there with you. Sean was the best Bond, but I too have a soft spot for Roger... for the exact same reason as you do. Also, your content is always outstanding, thanks!

Ответить
@StatsBloke
@StatsBloke - 07.09.2022 18:04

Superb video. I'm just getting into C# for a project I'm working on and needed a good summary of working with JSON. You're a great teacher.

Ответить
@gabrielfkeith
@gabrielfkeith - 31.07.2022 13:17

Completely lost.... I am used to commenting not remarking. 🙂

Ответить
@adriancurnow974
@adriancurnow974 - 04.07.2022 09:55

Thanks Les, this was one of the best video tutorials I have seen. Thanks so much for taking the time to create this, I will be using it as a reference going forward. As you said in the video, a lot of presenters don't cover every step and basic fundamentals can be missed. Well done!

Ответить
@naratsu05
@naratsu05 - 15.06.2022 22:48

HAHAHAHAHA it was like a serious discussion then all of a sudden there's this LOUD audience cheering meme HAHAHAHA

anyway, this tutorial really helps a lot :)

Ответить
@elinormountford7880
@elinormountford7880 - 13.06.2022 17:55

Brilliant Les. I'm new to RESTful APIs and thought it would be a headache but your videos have made it painless. First class videos and your examples are great. Many thanks!

Ответить
@andrewjones8501
@andrewjones8501 - 02.06.2022 06:47

Top notch, entertaining too. Thanks so much!

Ответить
@amitsengupta8136
@amitsengupta8136 - 25.05.2022 10:07

simply awesome!!! Les, you are a great teacher.

Ответить
@garypweedman4686
@garypweedman4686 - 17.05.2022 23:10

wow

Ответить
@garudakurt5166
@garudakurt5166 - 07.05.2022 09:31

Hello I am working with my API in Web then I already serielize the json data and display it. But I can't able to to deserialize the json to c#. Even if I converted in the json2csharp.

Ответить
@MrYomantanepali
@MrYomantanepali - 29.04.2022 23:09

Can you show how to deserialize to polymorphic object ?

Ответить
@coryjamesmoonfall1602
@coryjamesmoonfall1602 - 06.04.2022 01:34

You are AMAZING. Thank you SO much for this.

Ответить
@GarryWhitworth
@GarryWhitworth - 02.04.2022 18:25

Just wanted to pop in and let you know I foundTutorial was very useful in helping me in this JSON area. Have a great day!

Ответить
@lewisorherhe2689
@lewisorherhe2689 - 04.03.2022 17:37

Wow wow wow beautifully explained between self taught and professional programmer. I appreciate this tutorial in all ramifications

Ответить
@rayc723
@rayc723 - 03.03.2022 15:43

G'day Les, I'm a bit late to this party, but thanks for all this detail. This is a fundamentally simple concept, with straightforward code, that I've finally cottoned on to after seeing this. My endpoints are bouncing around in delight now, all lean and ready for action.

Ответить
@praveenkathait
@praveenkathait - 15.02.2022 12:15

Excellent Video and easy to understand.
Still have a pretty small question, how about if from the JSON array of Phone Number, if we have to read one specific type of phone number. Example:- We just wanted to read the phone number of Type 'Home', what should be done for that. Reply will be highly appreciated. Thanks again!!

Ответить
@dnaldoog3114
@dnaldoog3114 - 02.02.2022 03:10

Excellent - thank you so much!

Ответить
@lukecollinson4327
@lukecollinson4327 - 07.01.2022 15:15

Jumpscare 😂

Ответить
@sebastianrubacha4298
@sebastianrubacha4298 - 02.11.2021 14:45

Thank you!!! You literally saved my life, excelent tutorial

Ответить
@viktornovikov9266
@viktornovikov9266 - 30.10.2021 14:21

like!)

Ответить
@cedricthegreat111
@cedricthegreat111 - 30.10.2021 06:11

You have helped me immensely! I have not found a guide that made me understand how this works as well as your video does.

Ответить
@simonearnshawuk
@simonearnshawuk - 28.09.2021 19:22

When you use the JsonConvert.DeserializeObject<dynamic>(jsontext) - what kind of object do you get back? I get a JObject - and as a result cannot pick out individual values like you have with the firstname and so on. Any ideas why this may be?

Ответить
@AlajmiTube
@AlajmiTube - 13.08.2021 12:12

Les you are an excellent teacher. Keep up the good work and I like your sense of humour. I understand JSON structure and everything about it, thanks to your video, even though I have maintained an API to send simple JSON to outside service, but never understood the basics of it.
Thanks again

Ответить
@janoytechwizz3874
@janoytechwizz3874 - 09.08.2021 21:44

Finally now I know how to desrialize JSON in c#. It's a hard at first to grasp the concept if you are PHP dev because PHP makes it so easy. json_encode(array) and json_decode(array) that's it.

Ответить
@guy1407
@guy1407 - 03.08.2021 08:17

Thanks a lot

Ответить
@benzemamumba
@benzemamumba - 08.07.2021 17:20

Ah, king Leonidas is now a tutor?! Awesome. 👊🏾

Ответить
@badrulhussain5545
@badrulhussain5545 - 20.06.2021 01:31

Hi Greate video. Say you had nested collection/Array in that json. How would you write that class??

Ответить
@kostasklimantakis6252
@kostasklimantakis6252 - 25.05.2021 12:14

You made my day sir! Huge time saver, thanks!

Ответить
@sandeepkumar-ol5lg
@sandeepkumar-ol5lg - 05.05.2021 09:19

Thanks , we’re looking exactly what you’ve provided here

Ответить
@vladeb1104
@vladeb1104 - 29.04.2021 14:38

It would be great if you can explain reflection as the subject in this very video, touching it a bit.

Ответить
@rribar
@rribar - 19.04.2021 01:10

Hi Les! I just watched this video tutorial and found it to be extremely helpful. I cannot thank you enough for making this, and taking the extra time to show us the use of a dynamic class, with and without inheritance, and the multiple json examples. I can't wait to check out your website and other videos. Cheers!

Ответить
@TheTekkenNetwork
@TheTekkenNetwork - 09.04.2021 20:13

20 min of time and video is 56 min long

Ответить
@Travlar
@Travlar - 22.03.2021 21:26

Thank you for this video. Over 35 years as a Visual Basic developer (mostly business software) and I made the switch to C# this year. JSON has been a nemeses of mine, but your video finally explained those things that everyone else seems to skip over and I think I now have enough knowledge to move on with the stack of new software I want to write using C#. Thank you, thank you, thank you! And thank you for taking the time to explain inheritance. Though fairly straight forward, I have seen many people confused over inheritance and I'm betting it will help anyone starting out or a tad confused.

Ответить
@anthonyfullmer457
@anthonyfullmer457 - 19.03.2021 02:25

After watching and reading about a dozen guides, yours was the one that finally explained what I was looking for in an easy to follow fashion. Thank you for your tutorial!

Ответить
@jarver9956
@jarver9956 - 03.03.2021 22:13

Thanks for this material, it helps understand the topic ;) I like it.

PS. Your jokes are quite funny xD :P

Ответить
@magroll4368
@magroll4368 - 28.02.2021 22:55

Nice video. After stuck in C# sharp and JSON Stuff, this got me absolutly in an comfort zone in that topic. Now i know how to use json as config files, and some other interesting stuff. Programmed every of your steps in parallel, helps a LOT! Thank you !

Ответить
@sr.favopossodeixarvaziosim4595
@sr.favopossodeixarvaziosim4595 - 12.02.2021 07:01

Hi! I'm seeing this and its a great video, you're doing pretty good explanations. I like the way you explain things, I mean, from base up - some people like to thrown concepts people may have never heard before and pretend everyone knows it - whereas you build up from the basic and continues on, which is fantastic.

I would like to ask you do something, if its not much work, in the future: Subtitles. Not automated ones, real ones I mean. Some of us do not have such good hearing or audio equipment, or have problems understanding your accent (British Islands, btw? Can't recognize it myself). Its why I tend to eschew video tutorials, I feel like I am fighting both to understand and type what I hear, and to understand what I am being taught.

Ответить