Converting JSON to C# The Easy Way

preview_player
Показать описание
If you write C# you inevitably have to create a set of classes to represent some JSON data you need to serialize and deserialize. In this short tutorial I show you how to do it extremely easily.
Рекомендации по теме
Комментарии
Автор

No fucks! One thousand videos and you're the only one that showed me this. OMFG THANKS!!!!

BHVampireLF
Автор

paste special... what a gem. worth watching just for that tip. thank you!

Greviouss
Автор

I wish you would have shown the entire process of creating the object. Im a newby though so maybe this tutorial isn't for me

JustinUrban
Автор

No paste special in my case. I'm using Visual Studio 2019 Community edition

govindasr
Автор

That paste special saved my life.Thanks|!

hippoplatypus
Автор

Thats great but... You realize you didn't explain how to use the info once you got it, right?. I mean where or how do I access it?.

XiroNyakuya
Автор

Have to have ASP.NET and web development tools installed for paste special to show up in visual studio.

warsymphony
Автор

have no idea how bad i been looking for something like this

gilbertarroyo
Автор

Thanks for the easiest way for converting json to c# classes. How to deserialize the json back to the object ( for root class mentioned in this video) using deserializeObject() ?

dharaniprakash
Автор

great video ty, , do u do one that makes a json sobject from c# im new to this and want to make a json obj and storfe it to a firebase object
ty, ,

wogalwogal
Автор

What version of Visual Studio is that?

MrSuhas
Автор

please share your program.cs file in Description, Thank you

yashvardhan
Автор

Can we do in reverse? Can we convert into json of Collection of multiple classes with relational data object?

sankarrao
Автор

Hi, isn't this converting C# to JSON? I would like to know how to populate my classes from a JSON file, so i can work with property values in my program. Everyone on youtube shows how to add info to a json, but no-one shows how to properly extract from a Json.

I'm also new to programming ;)

michagerkema
Автор

I hope, you will go to Paradise:), I can't understood it. But this is excellant.
Thank you.

PIDOtomasyon
Автор

i saw your video, Is this possible to read json data to c# windows application??

LiveToTheMoment
Автор

And what if the result can have 1000 different key values? Are you going to create 1000 classes for it? That sound like a really bad design to me. I'm trying to parse a response that has up to 1000 different keys, and only one of them is returned in each response. How should I do this?

WorstDeveloper
Автор

this was awesome! really really thank you <3

amirtavoosi
Автор

why you didn´t show the entire code? i dont know how you did it now.

MetalAFull
join shbcf.ru