C# Tutorial - Serializing and Deserializing JSON with NewtonSoft (JSON.NET)

Поділитися
Вставка
  • Опубліковано 8 чер 2022
  • Learn how to turn objects into json, and json into objects with C# and the Newtonsoft (JSON.NET) library.
    In this demonstration, I create a simple object and show you how it can be quickly serialized to a JSON string. Then I turn that string back into an object that can be used at runtime.
    #microsoft #json #newtonsoft #json.net #serialization #dotnet #.net #softwaredevelopment #coding #csharp #visualstudio
  • Наука та технологія

КОМЕНТАРІ • 35

  • @learnwithsam200
    @learnwithsam200 Рік тому +7

    this tutorial is all that we want when looking for learning something. The subject explained in the simplest way possible. Thank you for that

    • @scott_itall8638
      @scott_itall8638 Рік тому +1

      Coming from Python trying to wrap my head around this in C# lol

    • @nickproudprogrammer
      @nickproudprogrammer  Рік тому

      Really glad you found it useful. Let me know if there's anything else you were looking to learn

  • @alfenousa
    @alfenousa Рік тому +2

    Very useful, much appreciated.

  • @marcinw320
    @marcinw320 Рік тому +4

    Hey Nick! This is great what you are doing!
    It is also wonderful to hear proper English language and English sense of humour.
    I am becoming your fan and follower.
    Looking forward to seeing and hear more.

  • @patricia7459
    @patricia7459 2 роки тому +3

    Amazing tutorials, I am really glad I found your youtube channel. I am new to RestSharp and Newstonsoft and it helped me to get a grasp on it. Subscribed :)

    • @nickproudprogrammer
      @nickproudprogrammer  2 роки тому +1

      Thanks! Glad you found this useful. If you have any content suggestions, I'm all ears :)

  • @sciolo2749
    @sciolo2749 Рік тому +1

    Excellent tutorial thank you Nick.

  • @mrt7948
    @mrt7948 Рік тому +1

    these api series are very helpful

  • @bwdskn5069
    @bwdskn5069 Рік тому +1

    thank you so much

  • @mariiasafonova5510
    @mariiasafonova5510 Рік тому +1

    amazing !!!!

  • @syafiighazali
    @syafiighazali Рік тому +3

    Great tutorial, super clear explanation. Please do tutorials on exception handling and linq. :)

    • @nickproudprogrammer
      @nickproudprogrammer  Рік тому

      Thanks for the feedback! Really glad you found it useful. I'll add exception handling and linq to my list :)

  • @Maneki-Nico
    @Maneki-Nico Рік тому +1

    I love your vibes bro. Helps me shit out

  • @AnwarRazlanEM
    @AnwarRazlanEM 5 місяців тому

    Thank you

  • @FatihYavuz-bq7uc
    @FatihYavuz-bq7uc Рік тому +1

    It is very useful. Thanks

  • @kidoo1567
    @kidoo1567 Рік тому +1

    Thanks

  • @patyue5012
    @patyue5012 Рік тому

    Thanks for the tutorial. What about the json data from 3rd party? How can I read a list of json data in c# then write to a file?

  • @MohAmuza
    @MohAmuza Рік тому

    what if we have several blogposts in that json file, how to access that information piece by piece?

  • @pgman5416
    @pgman5416 Рік тому +1

    LOL! btw ty for the demo

  • @TheShadowArtCom
    @TheShadowArtCom 2 роки тому +1

    Thanks, subscribed.

  • @scott_itall8638
    @scott_itall8638 Рік тому

    Looks like serializer doesnt work when a value can be string or int, what is the work around for this?

    • @nickproudprogrammer
      @nickproudprogrammer  Рік тому

      Send some details and code examples of the issue via my website and I'll take a look - www.automationmission.com/contact/

  • @garciablancocesar
    @garciablancocesar Рік тому

    Hi Nick nice to meet you!
    You know I'm struggling to get a Json data from a postman!
    How could I contact you to show you what I want to do!
    Best regards!

    • @nickproudprogrammer
      @nickproudprogrammer  Рік тому

      Happy to help! Send some details of the issue via my website and I'll take a look - www.automationmission.com/contact/