Click here to Skip to main content
15,664,272 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I am getting some JSON from an API that looks like this:

{"ABCDE1234":{"name":"ABC Company","status":"Active"}}

The root node is generated dynamically and I want to get its value and serialize all the JSON into a .NET object.

Can anyone give me any clues please?
Posted

1 solution

http://stackoverflow.com/questions/3142495/deserialize-json-into-c-sharp-dynamic-object[^]

If you use a library like json.net etc these things tend to be easier.
 
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