4
Answers

how to Deserialize a JSON string and copy to two different datatables

Meghana

Meghana

1y
573
1

Hi

I have the following sample JSON where i want to split it and copy to 2 different datatables like

ID,Name & Description to one table and  Distributors data to another table Kindly help me with this

[
   {
      "Id":"123",
      "Name":"abc",
      "Description":"abc company",
      "Distributors":[
         {
            "DName":"joe",
            "LastName":"BIDEN",
            "Email":"[email protected]"
         },
         {
            "DName":"Donald",
            "LastName":"TRUMP",
            "Email":"[email protected]"
         }
      ]
   }
]

 

Answers (4)