How to use the json2typescript.JsonConvert 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);
github harry-sm / BittrexRx / src / core / bittrex-rx-client.ts View on Github external
constructor() {

		this.http = new HttpClient();
		this.requestOptions = {
			agent: false,
			headers: {},
			method: 'GET'
		this.jsc = new JsonConvert();


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