Serialize and Deserialize Json to C# [Step By Step Tutorial of JSON in C# in Hindi ] (हिंदी)

  Рет қаралды 6,183

Code with RSV

Code with RSV

Күн бұрын

Пікірлер: 15
@manishgarg8371
@manishgarg8371 Жыл бұрын
very nice explaination
@abdulrafay2420
@abdulrafay2420 9 ай бұрын
Can you please explain why we serializing the json object and how we can store serialized object(string) in the database. Lets suppose we have table of user. I create a post API that creates a user and store in a database how can I use serialization here and what will be the benefit of doing it?
@CodewithRSV
@CodewithRSV 9 ай бұрын
Ideally you shouldn't use json string to store your object in db. using entity framework is much better for that. json serialization is better suited for data transfer between API or apps.
@abdulrafay2420
@abdulrafay2420 9 ай бұрын
@@CodewithRSV Got it...thanks
@abdulrafay2420
@abdulrafay2420 9 ай бұрын
​@@CodewithRSV Got it...thanks
@abubakarizhar5608
@abubakarizhar5608 5 ай бұрын
I can not add System.Text.jso in my VS 2017. Please guide.
@CodewithRSV
@CodewithRSV 5 ай бұрын
@@abubakarizhar5608 what is the target framework of your project?
@abubakarizhar5608
@abubakarizhar5608 5 ай бұрын
@@CodewithRSV .NET 4.8
@abinayaabi2134
@abinayaabi2134 10 ай бұрын
thank you so much
@abhishekbhawankar2971
@abhishekbhawankar2971 6 ай бұрын
Can we create deserialisation in MVC core
@CodewithRSV
@CodewithRSV 6 ай бұрын
@@abhishekbhawankar2971 yes
@peremos7781
@peremos7781 10 ай бұрын
How do I deserialize my json when it has a word "producto" before properties? { "producto": { "iDpRODUCTO": 6, "codigoBarra": 54323, "nombre": "cera", "marca": "avon", "categoria": "belleza", "precio": 3400 } }
@CodewithRSV
@CodewithRSV 10 ай бұрын
Try to de-serialize to Root class: // Root myDeserializedClass = JsonConvert.DeserializeObject(myJsonResponse); public class Root { public Producto producto { get; set; } } public class Producto { public int iDpRODUCTO { get; set; } public int codigoBarra { get; set; } public string nombre { get; set; } public string marca { get; set; } public string categoria { get; set; } public int precio { get; set; } }
@peremos7781
@peremos7781 10 ай бұрын
@@CodewithRSV thanks, I am using System.Text.Json, can it be done the same?
@WebDevWithProfessor
@WebDevWithProfessor 5 ай бұрын
bro we want c# notes
Using JSON IN C#! Serialization & Deserialization made easy!
14:47
tutorialsEU - C#
Рет қаралды 38 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
C# JSON Deserialization | Serialization and Deserialization| Nested Json #4
12:18
Binary Automation - SDETs
Рет қаралды 18 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 214 М.
How to Parse JSON Data in C# - Coding Gems
16:52
ParametricCamp
Рет қаралды 41 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН