Ivan G.
Ivan G.

Reputation: 5215

JSON sample to [DataContract]

Is there any tool allowing to generate DataContract entity definitions based on a JSON sample? I'm really missing the old good WSDL metadata with code generation facilities.

Upvotes: 5

Views: 11367

Answers (2)

charisk
charisk

Reputation: 3190

I know this is a very old question but it's worth noting that if you're using Visual Studio you get that without any external tools - you can copy some JSON in your clipboard and then go to Edit > Edit Special > "Paste JSON As Classes".

Upvotes: 9

Related Questions