Hi,

> No. Same problem. The problem is with the setting of the properties. When you 
> then get the properties, the properties are renamed and undefined.

So the issue with the properties of any class not just those of type “Object”.

> Yes. It works (and I’ve used this pattern, but kind of annoying if you ask me.

Yep a little.

> The best way to handle it is probably to define interfaces with getters and 
> setter of the properties. Something like this will likely work, but I have 
> never taken the time to test:
<snip>
> I would be interested in knowing if it does work.

It fails to compile and if you add “as JsonResponse” it compiles but y  ou end 
up with info being set to null so sorry that doesn’t work either.

Thanks,
Justin

Reply via email to