Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,
I am working with asp.net, c#
database : cloudant
I have data in cloudant in Json Format, I want to get data from cloudant,
for exmeple : when I create a profil, data will saved in cloudant, in the next page I want to go to profil_view.aspx where I can appear this data.
sorry my english is not good.
Posted

1 solution

One way of working with JSON in .NET would be using Data Contract: deseralize a json string array[^].

If this is not JSON created in .NET using Data Contract, it still could be possible to create a contract matching the data structure. In all cases, you will need a comprehensive description of the data format/structure.

If this is hard to do, see also my past answers:
How To Convert object type to C# class object type[^],
how to conver multi level json data to C# Object?[^].

You can also consider using open-source 3rd-party product JSON.NET: https://json.codeplex.com[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900