Actually, I can de-serialize the JSON into a `Resu...
# javascript
n
Actually, I can de-serialize the JSON into a
ResultObject
if I use:
Copy code
var resultObj = JSON.parse<ResultObject>(json)
resultObj = Object.assign(ResultObject(), resultObj)
So now I can call
ResultObject
methods on the deserialized object.
Lists
and nested objects are still de-serialized into arrays and maps however so I need to figure out a way to special-case those...