Generate TypeScript code from a JSON schema
masterYou can generate TypeScript code using NJsonSchema.CodeGeneration. You can control the output style using TypeScriptGeneratorSettings.
Interface Style
Set TypeStyle = TypeScriptTypeStyle.Interface to generate TypeScript interfaces.
Class Style
Set TypeStyle = TypeScriptTypeStyle.Class to generate TypeScript classes that implement corresponding interfaces, including methods like init(), fromJS(), and toJSON().