I can generate XSD to build MyDataContract.dll using xsd.exe
xsd.exe MyDataContract.dll
This will create a schema0.xsd with definitions for all assembly types.
Is there any equivalent for JSON?
I looked at the Newtonsoft Json.NET schema, but it only looks like an API, not an executable. In addition, it works at the “type” level, without being able to generate a JSON schema for all assembly types.
I would like to generate a JSON schema as part of my CI assembly.
I suppose I can create a console application using Json.Net Schema with reflection, etc., to achieve this, but it is surprising that such a program no longer exists.
source share