1

I'm consuming REST-like API which returns JSON objects. I can deserialize those objects to C# objects, but I'd like to have strongly typed solution.

Is there any tool that can generate classes using JSON objects as reference?

3
  • This isn't really specific to REST services--please consider editing the title and tagging to remove references to REST. Commented Jul 5, 2012 at 14:46
  • 1
    First Google hit for generate c# code from json: stackoverflow.com/questions/1066550/… Commented Jul 5, 2012 at 14:52
  • So there is no any common way to describe APIs and generate proxies, like WSDL for SOAP services? Commented Jul 5, 2012 at 21:05

1 Answer 1

2

This page has some links to tools to generate C# classes from JSON:

http://www.codeproject.com/Articles/233698/Consuming-a-Json-WebService-from-a-Csharp-or-VB-Ap

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.