JSON to model converter

Convert JSON to C# or Java

Paste sample JSON and generate simple C# classes or Java POJOs without sending data to a server.

Paste JSON to generate model code.

How to use

  1. Paste a JSON object or an array of objects.
  2. Choose C# or Java and set the root class name.
  3. Generate and copy the model code.

FAQ

Does this parse C# or Java back to JSON?

No. This first version converts sample JSON into model classes.

How are mixed values handled?

Unknown or mixed values fall back to object in C# and Object in Java.

Related tools