My JSON object is being read from a remote REST server. This object has all the properties of a typescript class. How can I cast object to a variable type?
I don't want to populate a typescript var (ie have a constructor that takes this JSON object). It's large and copying everything across sub-object by sub-object & property by property would take a lot of time.