How to use the json2typescript.ValueCheckingMode.DISALLOW_NULL function in json2typescript

To help you get started, we’ve selected a few json2typescript examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github harry-sm / BittrexRx / src / core / bittrex-rx-socket-client.ts View on Github external
private convert(data: any, dataType: Model.ClassType): T {
		const jsc: JsonConvert = new JsonConvert();
		jsc.valueCheckingMode = ValueCheckingMode.DISALLOW_NULL; // never allow null

		return jsc.deserialize(data, dataType);


Provides TypeScript methods to map a JSON object to a JavaScript object on runtime

Latest version published 2 years ago

Package Health Score

57 / 100
Full package analysis