How to Parse JSON Data in C# - Coding Gems

Поделиться
HTML-код
  • Опубликовано: 18 июн 2023
  • In this Coding Gem, I will teach you how to easily serialize and de-serialize JSON data in C#!
    💻Code: github.com/ParametricCamp/Tut...
    💻Learning C#: • Learning C#: Introduct...
    Join us:
    📺 / parametriccamp
    💬 / discord
    📷 / parametriccamp
    🐦 / parametriccamp
    💻github.com/ParametricCamp
    📷🕺 / garciadelcastillo
    🐦🕺 / garciadelcast
  • НаукаНаука

Комментарии • 23

  • @linusfahlander2449
    @linusfahlander2449 4 месяца назад +2

    Hours spent searching for good tutorials and i finaly find this channel. Amazing video!

  • @danpurdy32
    @danpurdy32 11 месяцев назад +4

    fantastic! clear, concise, and extremely helpful. Thank you!

  • @mikelammi3088
    @mikelammi3088 21 день назад

    Thanks for your content! Clear and concise 👏

  • @tjlaser99
    @tjlaser99 8 месяцев назад +2

    Never seen anyone so good at explaining!

  • @justfeeldbyrne2791
    @justfeeldbyrne2791 4 месяца назад +1

    Thank you for this video, this really helped me. I'm just starting out in C# and I'm sure what I was trying to do could be done a lot better, but this was the easiest for me to understand!

  • @gameofjoy3561
    @gameofjoy3561 16 дней назад

    Very nice video. You made it so easy. Thank you so much. 👍

  • @seanrendall5495
    @seanrendall5495 Месяц назад

    Super helpful. All I wish this included was how to get just a portion of the JSON file as a string.

  • @markus72wi
    @markus72wi Год назад

    Thanks for this clear tutorial , helped a lot

  • @BF0001
    @BF0001 2 месяца назад

    FANTASTIC. Very well done and explained so clearly. 10/10

  • @EmranSalah
    @EmranSalah 9 месяцев назад

    Very helpful.
    Thank you very much

  • @alexsnowblind
    @alexsnowblind 5 месяцев назад

    Thank you! Well explained!

  • @HaploBartow
    @HaploBartow 4 месяца назад +1

    This is a great video and very clear, but I would like to see how you handle this case but with multiple strings of the same format you've shown here. Do you have to create multiple lists? Or can you do it with a list of lists (e.g. nested)?

  • @ahmedadel2487
    @ahmedadel2487 8 месяцев назад

    FANTASTIC VIDEO

  • @Za3DoRzX
    @Za3DoRzX 7 месяцев назад

    Great explanation.

  • @mindblower113
    @mindblower113 9 месяцев назад

    Nice video man thanks.

  • @athanasmb
    @athanasmb 11 месяцев назад

    thansk!!

  • @peremos7781
    @peremos7781 4 месяца назад

    How to deserialize this Json, what to do with the word "producto" before the properties?
    {
    "producto": {
    "iDpRODUCTO": 6,
    "codigoBarra": 54323,
    "nombre": "cera",
    "marca": "avon",
    "categoria": "belleza",
    "precio": 3400
    }
    }

  • @nearissad3127
    @nearissad3127 7 месяцев назад

    oh my god thank you

  • @gametech7725
    @gametech7725 10 месяцев назад

    Amazing. How to enable Auto complete of visual studio? Can you guide please?

    • @tuomaslehtonen1707
      @tuomaslehtonen1707 10 месяцев назад

      It is called IntelliSense. Should be under Tools -> Options -> Text Editor -> C# -> IntelliSense.

    • @gametech7725
      @gametech7725 10 месяцев назад

      @@tuomaslehtonen1707 i cant find it under Tools. I have one in Visual studio -> Preference -> Text editor -> IntelliSense.
      It’s enable but not working like shown in your video.
      Didn’t saw anything related to C# in above path although I’m working with Unity & C#. Maybe a module is missing? 🤔

  • @kvelez
    @kvelez 8 месяцев назад +1

    using ConsoleApp1;
    using System.Text.Json;
    var person = new Person("Kevin", 19);
    var _serializeJSON = JsonSerializer.Serialize(person);
    File.WriteAllText("file.json", _serializeJSON);
    var readJSON = File.ReadAllText("file.json");
    Person _deserialize = JsonSerializer.Deserialize(readJSON);
    Console.WriteLine($"{_deserialize.Name} is {_deserialize.Age} years old.");
    Console.ReadKey();