Convert C# classes to JSON!

Paste C# class·record code and get an example JSON!
input
result
 

Convert C# classes to JSON!

Paste C# class·record code and get an example JSON!

Use Cases

- API docs and test payloads - Paste a DTO or model class to get an example JSON with the right shape for API docs, Postman tests or frontend mock responses. - Serialization rules applied - Reads [JsonPropertyName], [JsonIgnore], record, string?, List·Dictionary, enum to produce the JSON keys and value shapes that are actually sent.