JSON à l'objet TypeScript

let obj: MyObj = JSON.parse('{ "myString": "string", "myNumber": 4 }');
Condemned Civet