SerializeThis is a Visual Studio Extension. It lets you generate an example JSON for a class by right-clicking a type name. This can be helpful to generate example JSON to use in unit tests or through a REST client such as Insomnia. This is not meant as a replacement for documentation and client generators such as Swagger. It currently looks like this: The serialized model looks like this: The extension creates a temp file, writes the output there, opens the file in Visual Studio and then attempts to delete the file. FeedbackIts basic functionality has been tested in various scenarios, but if you have a type it can't serialize, feel free to open an issue! |