JSon Class Mapping

82 views
Skip to first unread message

David Mouton

unread,
Nov 18, 2012, 9:31:25 AM11/18/12
to haxe...@googlegroups.com
Hi all,
I'm sending typed to a web workers.
I have defined a com.tamina.Test class in my main application AND the webworker's application.
But my data loose their type during the exchange.
I can understand that but do you the best way to rebuild my data type ?

I'm trying to do something with the reflection api, but if you have any idea ...

clemos

unread,
Nov 18, 2012, 9:34:04 AM11/18/12
to haxe...@googlegroups.com
Hi David,

You might want to try serialization : 

Regards,
Clément


David Mouton

unread,
Nov 19, 2012, 4:56:19 AM11/19/12
to haxe...@googlegroups.com
Yes you're right Clément and always helpfull :)
Reply all
Reply to author
Forward
0 new messages