You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import eminim, streams
typeComponent=refobjectofRootObjtypeMove=refobjectofComponent
speed: float32let s =newStringStream("""{"speed":20}""")
let a =Move(s.jsonTo(Component))
echo a.speed
From the marshal module docs:
Restriction: For objects, their type is not serialized. This means essentially that it does not work if the object has some other runtime type than its compiletime type.
The text was updated successfully, but these errors were encountered:
From the marshal module docs:
The text was updated successfully, but these errors were encountered: