cant convert json objects to class variables in api call code example
Example: json to object typescript
let obj: MyObj = JSON.parse('{ "myString": "string", "myNumber": 4 }');
let obj: MyObj = JSON.parse('{ "myString": "string", "myNumber": 4 }');